MathGroup Archive 2009

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Iterative solution difficulty


I think this better explains what I want to do.

EOM = x''[t] + 10 Sin[x[t]];
Do[sol[n]=NDSolve[{EOM ==0,x[0]==Pi/2,x'[0]==0},{x},{t,0,1}],{n,1,2}]

I want the time at iteration, n=1 to be from t=0 -> t=tf (which is found with EventLocator based on a stopping condition). 

Then the initial conditions change, for iteration n=2, by some function x[0],x'[0]=f(x[tf])) and the time goes from tf->ts (found with EventLocator).


  • Prev by Date: Function of a function problem
  • Next by Date: Re: MOVE/EXPORT FILES AT ONCE
  • Previous by thread: Iterative solution difficulty
  • Next by thread: solving multiple integrations