MathGroup Archive 2008

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

Search the Archive

Re: NDSolve[] with nested If[] and Piecewise[] usage:


Thanks for the suggestions.

The problem is with the unevaluated expressions inside If[] and as Oliver pointed out (his post is missing, I will wait for another day to see if his post appears here or I will post his comments as a quote) the use of Evaluate[] to evaluate them before NDSolve[] solves my problem. And also the funifcase1 works fine even before, but funifcase2 did not work without the use of Evaluate[] inside the If[]. I posted this question because both the funifcase1 and funifcase2 are similar and we expect NDSolve[] to behave the same way.

Thanks for taking time to reply me.


  • Prev by Date: Solving 3d degree polynomial
  • Next by Date: Re: How to call or run a NB file in another NB file?
  • Previous by thread: Re: NDSolve[] with nested If[] and Piecewise[] usage:
  • Next by thread: Text search within a documentation page?