MathGroup Archive 2005

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

Search the Archive

Re: How to Clear y'[0]


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]