Re: A89: Re: Inequalities


[Prev][Next][Index][Thread]

Re: A89: Re: Inequalities




You could use the 89's built-in solve command.

solve(3x^2+y>=13,y)

Or you can easily do it in your head if it is simple (like this one) and set
y1= to the equasion that you figure y to equal.

3x^2+y>=13
    -y  -y
3x^2>=13-y
 -13 -13
3x^2-13>=-y
    *-1  *-1
13-3x^2<=y

Don't forget to reverse the inequality when multiplying or dividing by a
negative (like I always do).

-Miles Raymond      EML: m_rayman@bigfoot.com
ICQ: 13217756       IRC: Killer2        AIM: KilIer2 (kilier2)
http://www.bigfoot.com/~m_rayman/

----- Original Message -----
From: <JHill8075@aol.com>
To: <assembly-89@lists.ticalc.org>
Sent: Thursday, August 05, 1999 10:29 PM
Subject: Re: A89: Re: Inequalities


> when you said "Blah blah of x" what do you put there if you were graphing
> 3X^2 + Y >= 13 or an equation like that?? I hope that this isn't a stupid
> question.
>
> In a message dated 8/5/99 10:30:13 PM Eastern Daylight Time,
> RavenLoftQ@aol.com writes:
>
> << Write a program:
>
>  graph()
>  prgm
>  local a,b
>  for a,xmin,xmax,(abs(xmax)+abs(xmin)+1)/ [put screen width here]
>   for b,ymin,ymax,(abs(ymax)+abs(ymin)+1)/ [put screen height here]
>    if equation(a,b) = 1
>     pointon a,b
>   endfor
>  endfor
>  endprgm
>
>  equation(x,y)
>  func
>  if y= [blah blah of x]
>  return 1
>  else return 0
>  endif
>  endfunc
>
>  Try this. >>



References: