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: [mg57255] Re: How to Clear y'[0]
  • From: Jean-Marc Gulliet <jeanmarc.gulliet at 9online.fr>
  • Date: Sun, 22 May 2005 00:14:21 -0400 (EDT)
  • Organization: New York University
  • References: <d6mmis$ggo$1@smc.vnet.net>
  • Reply-to: jmg336 at nyu.edu
  • Sender: owner-wri-mathgroup at wolfram.com

Hi Joseph,

Enter "y[0]=." to clear the definition of y[0].

In[42]:=
y[0]=.

In[44]:=
DSolve[{y''[t]\[Equal]y[t],y[0]==1},y,t]

Out[44]//InputForm=
{{y -> Function[{t},
     -((-E^(2*t) - C[2] + E^(2*t)*C[2])/E^t)]}}

Best regards,
/J.M.

Joseph Fagan wrote:
> 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.
> 
> 


  • Prev by Date: Re: how to map function with over 1 arguments to list
  • Next by Date: Mapping Data
  • Previous by thread: Re: How to Clear y'[0]
  • Next by thread: Re: How to Clear y'[0]