Ode Basis
Ode Basis
ode45 Medium Most of the <me. ode45 should be the first solver you try.
An ordinary differential equation problem is stiff if the solution being sought varies slowly,
but there are nearby solutions that vary rapidly, so the numerical method must take small
.
steps to obtain satisfactory results.
Ordinary Differential Equations >
Chose an ODE solver
Solver Problem Type Accuracy When to Use
ode45 Medium Most of the <me. ode45 should be the first solver you try.
options
function
initial condition
time span
d 2θ g g
+ (θ ) = ω 2
=
E’ vietato ogni utilizzo diverso da quello inerente la preparazione dell’esame del corso di Meccanica delle Vibrazioni @Units
d 2θ
2
= −ω 2 sin (θ )
dt
θ = y1
E’ espressamente vietato l’utilizzo per qualsiasi scopo commerciale e/o di lucro
dt
−ω 2 sin(y1 )];
dy2
dt
= − ω 2sin(y1)
options
function
initial conditions (2, for y1 and for y2)
time span
undamped spring
mass system dy1
= y2
E’ vietato ogni utilizzo diverso da quello inerente la preparazione dell’esame del corso di Meccanica delle Vibrazioni @Units
d2x k dt
+ x=0
dt 2 m dy2 k
dt
=− y
m 1
damped spring mass
dy1
system
= y2
E’ espressamente vietato l’utilizzo per qualsiasi scopo commerciale e/o di lucro
d 2 x c dx k dt
+ + x=0 dy2 c k
dt 2 m dt m
dt
=− y
m 2
− y
m 1
m m