MathGroup Archive 2009

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

Search the Archive

Re: How can I "perturbate" a NDSolve expresion?

  • To: mathgroup at
  • Subject: [mg102035] Re: [mg102000] How can I "perturbate" a NDSolve expresion?
  • From: Iván Lazaro <gaminster at>
  • Date: Mon, 27 Jul 2009 05:55:20 -0400 (EDT)
  • References: <>

Thanks for the answers!

I need a more specific perturbation. I need something like this (with this I
expect to manipulate the frequency of the perturbation)


 NDSolve[{x1'[t] == (Sin[t] + a)*x2[t],
  x2'[t] == (Cos[t] - a*x1[t]^2)*x1[t], x1[0] == 1,
  x2[0] == 0}, {x1[t], x2[t]}, {t, 0, 10}]

But I need that the If condition evaluates in each time step. But I haven't
been able to introduce the conditional in the ndsolve statment.

  • Prev by Date: Re: freeing memory used by Import[]
  • Next by Date: Re: Re: Re: Show doesn't work inside Do loop ?
  • Previous by thread: How can I "perturbate" a NDSolve expresion?
  • Next by thread: Re: Re: How can I "perturbate" a NDSolve