2021年5月1日星期六

Solve ODE with TensorFlow in Python

In python, how to use neural network with TensorFlow to solve ordinary differential equations,and now I have an ODE,

Links to the image of differential equations

I'm trying to get the numerical solution and graph it,and I defined following,

def ode(t, x):     a=0.3     k=5.1     b=6.0     c=4.3     return k*math.exp(-b*t)*math.cos(c*t)-a*x  
https://stackoverflow.com/questions/67310199/solve-ode-with-tensorflow-in-python April 29, 2021 at 10:20AM

没有评论:

发表评论