MathGroup Archive 1996

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

Search the Archive

Problem with If[] and %

If[ i^2+v^2>15, 15, i^2+v^2]
Plot3D[ %,{i,-5,5},{v,-5,5}]

does what I want. But i^2+v^2 is only an example for an
other more complex function which is derived in the steps

Therefore I test

If[ % >15,15,%]
Plot3D[ %,{i,-5,5},{v,-5,5}]

Which only leads to several errors.

What do I have to do?

Hans Friedrich Steffani
Hans Friedrich Steffani
Institut fuer Elektrische Maschinen und Antriebe, TU Chemnitz-Zwickau
mailto:hans.steffani at

  • Prev by Date: solving differential equations
  • Next by Date: Integration of exp(-az)*sigma(t-to)*dz ??
  • Previous by thread: Re: solving differential equations
  • Next by thread: Re: Problem with If[] and %