MathGroup Archive 2013

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

Search the Archive

cannot work a "conditional If"

  • To: mathgroup at
  • Subject: [mg130570] cannot work a "conditional If"
  • From: patrice.haldemann at
  • Date: Mon, 22 Apr 2013 03:11:08 -0400 (EDT)
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:
  • Delivered-to:

Hi everybody

I am a newcomer in the mathematica world and I have been facing an issue for some days.

I have used mathematica to solve an NDSolve and it has worked well

I have tested  expressions with the solution of NDSolve and its has worked well.

Now if I use an expression in an "Conditional If", it does not work. 

Thank you for your help

See below

signy[t_] := y[t] /. orbit   where y[t] is the solution of the NDSolve



 ang12[t_] := If[signy[t] > 3, 10, 6]


If[{-1.96861} > 3, 10, 6]


  • Prev by Date: Re: Speak errors (was Re: audio)
  • Next by Date: Re: Re: Mathematica integration Vs Sympy
  • Previous by thread: exporting to text format
  • Next by thread: Re: cannot work a "conditional If"