MathGroup Archive 2005

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

Search the Archive

Re: How to Clear y'[0]

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57261] Re: How to Clear y'[0]
  • From: Peter Pein <petsie at dordos.net>
  • Date: Sun, 22 May 2005 03:59:48 -0400 (EDT)
  • References: <d6mmis$ggo$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Joseph Fagan schrieb:
> Newbie.
> Acidently input
> DSolve[{y''[t] == y[t], y[0] = 1}, y, t]
> 
> and end up setting y[0] to 1, instead of
> 
> DSolve[{y''[t] == y[t], y[0] == 1}, y, t]
> 
> However
> 
> Clear[ y , y[0] , "y*" ]
> 
> fails to Clear y[0] (not a symbol or a string) and I need to exit the 
> program and start again.
> 
> 
Hello,

Clear[y] does not clear y[0]?
If I observed that behaviour, I'd reinstall Mathematica.

In[1]:=
y[0] = 1;
y[0]
Clear[y];
y[0]

Out[2]=
1
Out[4]=
y[0]

-- 
Peter Pein
Berlin


  • Prev by Date: StringReplace
  • Next by Date: Re: Temporary style change in a notebook?
  • Previous by thread: Re: How to Clear y'[0]
  • Next by thread: Re: How to Clear y'[0]