Re: What am I doing wrong with this code?
- To: mathgroup at smc.vnet.net
- Subject: [mg82549] Re: What am I doing wrong with this code?
- From: tomfabtastic at hotmail.com
- Date: Wed, 24 Oct 2007 04:30:22 -0400 (EDT)
- References: <ffkffr$spa$1@smc.vnet.net>
On Oct 23, 7:39 pm, sean_incali <sean_inc... at yahoo.com> wrote:
> I think I'm having a brain fart. Seriously...
>
> Plot[{1/(1 + y^2), (1/y - 1)^(1/2)}, {y, 0, 5}]
>
> What is wrong with that code? Maybe it's not solvable in mathematica?
>
> I'm trying to plot nullclines of a system of ODEs. and those function
> up there are them. I just can't get mathematica to plot them in the
> same graph.
>
> I get an error message saying...
>
> >From In[22]:=
>
> (1/y - 1)^(1/2) is not a machine-size real number at y =
> 1.0000001666666667`.
>
> Any help is appreciated.
>
> sean
Hi Sean,
I'm relatively new to Mathematica (and am using version 6). I pasted
your code straight in and the graphs popped up looking fine.
Must be some setting on your computer that causes the error - someone
more technical may be able to tell you why !
Tom