MathGroup Archive 2002

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

Search the Archive

Re: machine size real numbers?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg35828] Re: machine size real numbers?
  • From: "Allan Hayes" <hay at haystack.demon.co.uk>
  • Date: Fri, 2 Aug 2002 02:42:39 -0400 (EDT)
  • References: <aiat9q$5ba$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Rick,
You need square brackets not round ones - standard Mathematica syntax with
functions:

    x[t_] := 1 + Cos[2000*Pi*t] + Sin[4000*Pi*t]

This can be tracked down by evaluating

    x[0.0010471975511965976]

--
Allan

---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565


"Rick Dyer" <rkdyer at cecs.pdx.edu> wrote in message
news:aiat9q$5ba$1 at smc.vnet.net...
> In[1]:=
> x[t_] := 1 + Cos(2000*Pi*t) + Sin(4000*Pi*t)
>
> In[2]:=
> Plot[x, {t, 0, 8000*Pi}]
>
> Plot::"plnr": x is not a machine-size real number at t =
> 0.0010471975511965976
>
> Plot::"plnr": x is not a machine-size real number at t =
> 1019.5597016296903
>
> Plot::"plnr": x is not a machine-size real number at t =
> 2131.4776207838036
>
> General::"stop": Further output of Plot :: "plnr" will be suppressed
> during this calculation
>
> I am trying to plot the function x(t) defined above, same thing
> happens when i try to plot other similar functions always get an error
> saying that the machine size number is nor real, I have tried to find
> an answer in this message group, as well as the mathematica help
> online and built in, if someone knows what is going on please help me.
>
> My computer is an AMD 1Gig with 256MG of ram, if that is of
> consequence.  Windows XP pro
>
> Any help would be appreciated
>
> Thanks Rick
>




  • Prev by Date: RE: machine size real numbers?
  • Next by Date: Re: aligning equations
  • Previous by thread: RE: machine size real numbers?
  • Next by thread: RE: machine size real numbers?