- #1
Avatrin
- 245
- 6
Hi
Here's is the differential equation I need to solve using Euler's Method:
v' = 5 - 0.5v^2
I need to plot the position x(t), velocity v(t) and acceleration a(t) as a function of time.
v(0) is 0
I have the data for time:
s = linspace(0, 12, 121) #(delta t is 0.1)
But, that's about it...
What commands should I know to be able to solve equations like this using Python..
Here's is the differential equation I need to solve using Euler's Method:
v' = 5 - 0.5v^2
I need to plot the position x(t), velocity v(t) and acceleration a(t) as a function of time.
v(0) is 0
I have the data for time:
s = linspace(0, 12, 121) #(delta t is 0.1)
But, that's about it...
What commands should I know to be able to solve equations like this using Python..