Numerical Solution of Differential equation

Join the discussion
Ask a follow-up here, or get your own question answered by working scientists, mathematicians and engineers — people, not an autocomplete.
Real named experts · corrections over time · the nuance an AI answer skips
1 reply · 2K views
wel
Gold Member
Messages
36
Reaction score
0
The nonlinear oscillator [itex]y'' + f(y)=0[/itex] is equivalent to the
Simple harmonic motion:
[itex]y'= -z[/itex],
[itex]z'= f(y)[/itex]

the modified Symplectic Euler equation are

[itex]y'=-z+\frac {1}{2} hf(y)[/itex]

[itex]y'=f(y)+\frac {1}{2} hf_y z[/itex]

and deduce that the coresponding approximate solution lie on the family of curves
[itex]2F(y)-hf(y)y+z^2=constant[/itex]

where [itex]F_y= f(y)[/itex].


ans =>

for the solution of the system lie on the family of curves, i was thinking


[itex]\frac{d}{dt}[2F(y)-hf(y)y+z^2]= y \frac{dy}{dt} + z \frac{dz}{dt}[/itex]
[itex]=y(-z+\frac{1}{2} hf(y)) +z(f(y)- \frac{1}{2} h f_y z)[/itex]
but I can not do anything after that to get my answer constant.


can any genius people please help me
 
Physics news on Phys.org
How did you get on?
Nice to show some sort of attempt, but please show your reasoning.

If you are supposed to deduce that family of curves, perhaps you shouldn't be starting with them.
Though attempting to work the problem backwards from the solution can help you figure it out.

Start with the modified symplectic euler equations.
Check your course notes about them - how would you go about getting the "corresponding approximate solution" for those?