Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

inequalities

26 views
Skip to first unread message

Matt Bryant

unread,
Aug 22, 2001, 6:35:49 PM8/22/01
to
How can you graph inequalities...I know on the TI line you can, but haven't
gotten it figured out yet on the HP49G...anyone know how? Thanks in
advance.

--
--Matt Bryant

"If at first you don't succeed, try, try again. Then quit. No use being
a damn fool about it."
- W.C. Fields (1880 - 1946)

"Never try to teach a pig to sing. It wastes your time and annoys the pig."
- Proverb


Bhuvanesh

unread,
Aug 23, 2001, 12:22:06 AM8/23/01
to
The HP49G probably already has capabilities for solving and graphing
inequalities, simply because it is not difficult, especially for
polynomial inequalities.

Bhuvanesh.

"Matt Bryant" <mattk...@home.com> wrote in message news:<9tWg7.107133$w5.11...@news1.rdc1.ga.home.com>...

Peter Geelhoed

unread,
Aug 23, 2001, 4:58:20 AM8/23/01
to

Matt Bryant wrote:

> How can you graph inequalities...I know on the TI line you can, but haven't
> gotten it figured out yet on the HP49G...anyone know how? Thanks in
> advance.

You might try reading the manual or else try the truth plot

--
This message was written entirely with recycled electrons

Pivo


Nick Karagiaouroglou

unread,
Aug 23, 2001, 6:00:04 AM8/23/01
to
"Matt Bryant" <mattk...@home.com> wrote in message news:<9tWg7.107133$w5.11...@news1.rdc1.ga.home.com>...

Hi Matt!

Well, it depends on what you want to graph. The HP49G has the plot
type TRUTH which can make truth plots of inequations with up to 2
variables. For example, for the inequation X-Y>Y^2 the HP49G can do a
plot with the X-Y regions where the inequation holds/doesn't hold.
(Works also when the inequation has only one variable.)

Don't know though, if this is what you want to do.

Greetings,
Nick

Bhuvanesh

unread,
Aug 23, 2001, 7:28:12 PM8/23/01
to
n...@imos-consulting.com (Nick Karagiaouroglou) wrote:

> Hi Matt!
>
> Well, it depends on what you want to graph. The HP49G has the plot
> type TRUTH which can make truth plots of inequations with up to 2
> variables. For example, for the inequation X-Y>Y^2 the HP49G can do a
> plot with the X-Y regions where the inequation holds/doesn't hold.
> (Works also when the inequation has only one variable.)
>
> Don't know though, if this is what you want to do.

So it can't solve inequalities?

Bhuvanesh.

John H Meyers

unread,
Aug 24, 2001, 7:31:20 AM8/24/01
to Matt Bryant
Matt Bryant wrote:

> How can you graph inequalities...

Did you have some specific example in mind?

> I know on the TI line you can...

Well then, it must be impossible on the 49G,
as the feature sets of these two are orthogonal ;)

Let's suppose we want to graph 'Y < X/2.'

{ 'Y = X/2.' 'Y=-7.' } STEQ 'PPAR' PURGE ERASE DRAX DRAW PICTURE

Now press:

FCN [D]
Right-shift
Cursor left
SHADE [E]
Right-shift
Cursor-right
SHADE [E]
Minus [-]

All calculators are, of course (in the Turing sense),
created equal -- some just have more 'equals' keys than others :)

[r->] [OFF]


-----= Posted via Newsfeeds.Com, Uncensored Usenet News =-----
http://www.newsfeeds.com - The #1 Newsgroup Service in the World!
-----== Over 80,000 Newsgroups - 16 Different Servers! =-----

John H Meyers

unread,
Aug 24, 2001, 1:57:53 PM8/24/01
to
The program INPLOT from Donnelly's HP48 Handbook (2nd Ed.)
also plots the intersection of two or more inequalities
in a list, pre-stored into 'EQ'

http://www.amazon.com/exec/obidos/ASIN/1879828049
http://www.hpcalc.org/hp48/docs/books/handbook.html

But the book is out of print (and so is James Donnelly,
judging by the date of his last post on this newsgroup :)

This is a slightly modified version; blame me if it fails:


%%HP: T(3)F(.); @ Start of downloadable Kermit-transfer file

\<< -3. CF RCEQ DUP SIZE IF DUP 2. < THEN DROP2 513. DOERR END
FUNCTION ERASE { #0 #0 } PVIEW { } { } PPAR 1. GET C\->R
PPAR 2. GET C\->R OVER 5. PICK - PICT SIZE DROP B\->R /
\-> oldeqns numeqns neweqns pts xmin ymin xmax ymax step
\<< oldeqns 1. \<< OBJ\-> DROP2 = \>>
DOLIST DUP 'neweqns' STO STEQ DRAX DRAW
oldeqns 1. \<< OBJ\-> DROP2 SWAP DROP \>> DOLIST 'neweqns' STO
xmin xmax FOR x x ymax R\->C DUP PIX? DUP2 { PIXOFF } { PIXON } IFTE
x 'X' STO ymin ymax 2. \->LIST neweqns 1. \<< \->NUM \>> DOLIST +
SORT 'pts' STO 1. numeqns 1. + FOR n pts n DUP 1. + SUB OBJ\-> DROP
DUP2 + 2. / 'Y' STO IF 1. 1. numeqns FOR m oldeqns m GET \->NUM AND
NEXT THEN x SWAP R\->C x ROT R\->C LINE ELSE DROP2 END NEXT
{ PIXOFF } { PIXON } IFTE step STEP PICTURE \>> \>>

HOME 'INPLOT' STO

@ End of downloadable Kermit-transfer file


@ To run the test case pictured in the book:

{ 'Y>SIN(X)' 'Y<COS(X)' 'Y>.3*X' } STEQ RAD INPLOT

Note that a "progress bar" (one line of pixels)
is displayed at the top of the screen.

Note also that the program changes the contents of 'EQ'
(hence you should save any inequalities elsewhere
if you expect to re-use them).

Although the raw equations are initially plotted much faster
on the HP49G (compared to the HP48GX), the rest of the program
seems to run much slower overall on the HP49G
(but this is in Emu48, simulating on a PC, so YMMV on real calcs).


Jim's home page is still at: http://www.peak.org/~jimd

Gee, any fan of both Red Green and the Iowa Corn Cam
would feel perfectly at home around here
(but ya just missed the Iowa State Fair, Jimbo :)

-----------------------------------------------------------
With best wishes from: John H Meyers <jhme...@mum.edu>

0 new messages