I am solving second order differential equation of a simple spring. I
have used ODE solver to find the solution (x). But the right hand side
of my equation F is changing as a function of x. Is there any way that
I can combine this condition (if x < A right hand side=F1) and (if x
> A right hand side= F2) in ODE solver. I appreciate your help.
Nastar