MathGroup Archive 2002

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

Search the Archive

Re: Stupid newbie question

  • To: mathgroup at smc.vnet.net
  • Subject: [mg33148] Re: Stupid newbie question
  • From: Erk Jensen <Erk.Jensen at cern.ch>
  • Date: Wed, 6 Mar 2002 01:55:21 -0500 (EST)
  • Organization: CERN http://www.cern.ch
  • References: <a61ump$goj$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Mike O'Leary wrote:
> 
> I can't seem to get a Plot working.  I have all this typed in the notebook:
> 
> Clear[a, b, f]
> f[x_] := 1 - (Cos(\[ExponentialE]^(3x/4)))
> {a, b} = {-1, 1.5}
> Plot [f, {x, a, b}]
> 
> I keep getting an error saying f is not a machine-size real number at x
> = -1.  Any help is appreciated.  Thanks.

here you go:
Clear[a, b, f]
f[x_] := 1 - (Cos[\[ExponentialE]^(3x/4)])
{a, b} = {-1, 1.5}
Plot[f[x], {x, a, b}]


  • Prev by Date: Re: Machine-size real number?
  • Next by Date: Re: Inherited
  • Previous by thread: Re: Stupid newbie question
  • Next by thread: Re: Stupid newbie question