Re: What am I doing wrong with this code?
- To: mathgroup at smc.vnet.net
- Subject: [mg82559] Re: [mg82519] What am I doing wrong with this code?
- From: Andrzej Kozlowski <akoz at mimuw.edu.pl>
- Date: Wed, 24 Oct 2007 04:35:30 -0400 (EDT)
- References: <200710230932.FAA29209@smc.vnet.net>
On 23 Oct 2007, at 18:32, sean_incali 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
>
>
How do you expect plot handle the imaginary values that you get when
you evaluate (1/y - 1)^(1/2) on the interval (0,5)?
Andrzej Kozlowski
- References:
- What am I doing wrong with this code?
- From: sean_incali <sean_incali@yahoo.com>
- What am I doing wrong with this code?