|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools | Rate Thread | Display Modes |
|
#12
|
||||
|
||||
|
Re: numerical solution of differential equations
Unless I was careless with the algebra (it happens when I'm tired), Steve's catapult can be modeled with an ODE of the form θ'' = k1 + k2∙cos(θ) + k3∙θ' Attached is an Octave script that uses Octave's built-in ODE solver "lsode" to numerically integrate arbitrary ODEs of the form x'' = f(t,x,x') |
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|