MathGroup Archive 2002

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

Search the Archive

Why these graphs differ?


These solutions, naturally, coincide.

         DSolve[{y'[z] == z, y[0] == 1}, y[z], z][[1, 1, 2]]
Evaluate[DSolve[{y'[z] == z, y[0] == 1}, y[z], z][[1, 1, 2]]]

(2 + z^2)/2
(2 + z^2)/2


But, surprisingly, the corresponding graphs are not identical:

Plot[         DSolve[{y'[z] == z, y[0] == 1}, y[z], z][[1, 1, 2]],  {z, 0, 1}]
Plot[Evaluate[DSolve[{y'[z] == z, y[0] == 1}, y[z], z][[1, 1, 2]]], {z, 0, 1}]


Is it a feature or a problem?


Vladimir Bondarenko




  • Prev by Date: I have the solution
  • Next by Date: Re: Specify a variable
  • Previous by thread: I have the solution
  • Next by thread: Re: Why these graphs differ?