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

New Equations

28 views
Skip to first unread message

Eric Jonas

unread,
Jan 27, 1997, 3:00:00 AM1/27/97
to

Is there anyway to create a new equation and store it
in the equation library
----------------------------------------------------------------------
Eric Jonas | HTML, Java, C++, Visual Basic,
eri...@primenet.com | Newton, Particle Physics, Quantum
Sophomore, Boise High School | Physics, Cosmology, Mathematics,
| and Newspaper Production.
----------------------------------------------------------------------

T Throop

unread,
Jan 28, 1997, 3:00:00 AM1/28/97
to

No The built in equation library is a done deal. The simplest alternative is to use the program
called equation manager v 1.2. It can be found at your local hp ftp site under the name EQMv12.
It has good instructions.

good luck.


John H Meyers

unread,
Jan 30, 1997, 3:00:00 AM1/30/97
to

In article <32ed4fd3...@news.primenet.com>,
eri...@primenet.com (Eric Jonas) writes:

> Is there any way to create a new equation
> and store it in the equation library?

Although adding to a ROM-based library may not have been
provided for, the very simplest way to accumulate a library
of equations, which anyone can do, sans cable, on any HP48:

o Make a directory: 'MYEQS' CRDIR

Press its VAR menu key to enter the new directory.

o Create equations (or lists of related equations, as appropriate
to each given problem).

o Store each equation (or list) in a variable.
Choose variable names *other* than EQ !

o To create a "workspace" for temporary variables used by equations:

'WORK' CRDIR (now press its VAR menu key to enter it).

Store the following optional G/GX program in the WORK directory:

\<< VARS 'EQ' + 1 \<< DUP 'PURG' SAME { DROP } IFT \>> DOLIST PURGE \>>
'PURG' STO @ use the same name as in the program itself

Now you can press PURG whenever you want to purge all variables
(except the PURG program itself) from this WORK directory.

HP48G/GX puzzles:
Why do we have to say 'EQ' + in the above program?
Why do we have to use SAME and not == ?

o To select an equation and start the solver:

'name' left-shift [SOLVE] ROOT left-shift EQ SOLVR ( G/GX keyboard )

'name' STEQ 30 MENU ( any HP48 )

Or, start the "Solve equation" application, then enter the name into EQ.

If you have an S/SX (or G/GX), you could store \<< STEQ 30 MENU \>>
as a program named 'GO' in the MYEQS directory, for easy access.

If you have a G/GX, you can make selecting your equations more convenient
with the following 'GO' program stored in the 'MYEQS' directory:

\<< "My Equations" { @ outer list starts here
{ "Option Pricing" OPT } @ my first equation title & name
{ "Moon Phase" MPH } @ my second equation title & name
@ ...continue as above with remaining equations...
} @ outer list ends here
1 CHOOSE { STEQ 30 MENU } IFT \>> @ choose and solve selected equation

If you would prefer to use the "Solve equation" G/GX application
(dialog box), rather than the SOLVR (menu-key based solver),
replace 30 MENU in the above program with #B4001h LIBEVAL.

If some of your equation sets may require the Multiple Equation Solver
( a sub-topic of the Equation Library documentation )
then you might replace 30 MENU with
IFERR MINIT THEN 30 MENU ELSE MSOLVR END

If you have hundreds of equations, and want to group them by subject,
you could use an "outer" CHOOSE list to select the subject, which in
turn would select an "inner" list of actual equations to choose from.

"Look, ma! -- no library needed!"

-----------------------------------------------------------
With best wishes from: John H Meyers ( jhme...@mum.edu )

Clyde Sloniker

unread,
Jan 30, 1997, 3:00:00 AM1/30/97
to

John H Meyers <jhme...@miu.edu> wrote:

> o To select an equation and start the solver:
>
> 'name' left-shift [SOLVE] ROOT left-shift EQ SOLVR ( G/GX keyboard )
>
> 'name' STEQ 30 MENU ( any HP48 )

On an S/SX, you can just use right-shift [SOLVE] instead of 30 MENU.

On an unrelated note, anyone know how to turn the menu bar off, even if
only in a program? Sometimes I wish I had a few extra pixels... (On an
S/SX, in case you're wondering.)

John H Meyers

unread,
Feb 4, 1997, 3:00:00 AM2/4/97
to

In article <5cpqtm$9...@nntp1.u.washington.edu>,
pu...@u.washington.edu (Clyde Sloniker) writes:

> anyone know how to turn the menu bar off, even if only in a program?

> Sometimes I wish I had a few extra pixels... (On an S/SX)

SysRPL word TURNMENUOFF will turn the menu off and enlarge the stack
display grob (or do you mean on the graphics display, where the [-]
key turns the menu off?); however, you won't get much value out of the
empty last row of the "text" (stack display) screen using User-RPL,
because the normal stack display won't use it, and the DISP command
won't write to the newly created eighth line of the display
(use SysRPL word Disp5x7 instead).

To undo TURNMENUOFF, you should use both TURNMENUON and RECLAIMDISP.

Of the above system words, only Disp5x7 requires arguments (see file
ENTRIES.SRT or a SysRPL book for correct arguments); the others are
pretty safe to experiment with.

0 new messages