MathGroup Archive 2002

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

Search the Archive

Why these graphs differ?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33925] Why these graphs differ?
  • From: Vladimir Bondarenko <vvb at mail.strace.net>
  • Date: Tue, 23 Apr 2002 07:13:56 -0400 (EDT)
  • Reply-to: Vladimir Bondarenko <vvb at mail.strace.net>
  • Sender: owner-wri-mathgroup at wolfram.com

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?