MathGroup Archive 2002

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

Search the Archive

Re: Stupid newbie question

  • To: mathgroup at
  • Subject: [mg33160] Re: [mg33134] Stupid newbie question
  • From: BobHanlon at
  • Date: Wed, 6 Mar 2002 01:55:38 -0500 (EST)
  • Sender: owner-wri-mathgroup at

In a message dated 3/5/02 4:04:06 AM, Gremmie at writes:

>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. 

Clear[a, b, f];

f[x_] := 1 - Cos[E^(3*x/4)]; 

{a, b} = {-1, 1.5};

Plot [f[x], {x, a, b}];

Bob Hanlon
Chantilly, VA  USA

  • Prev by Date: Re: training book for mathematic
  • Next by Date: RE: How to transform x axis on ListPlot?
  • Previous by thread: Re: Stupid newbie question
  • Next by thread: Re: Stupid newbie question