Using the Solver within a program

  • Follow


Hi!

I would like to use the solver menu within one of my programs. A simple 
example is (for solxing X^2 = Y)

<<
<< X SQ Y - >> STEQ
2. 'Y' STO
30.01 MENU
HALT
{ EQ Y X } PURGE
2 MENU
 >>

This initializes the parameters, calls the SOLVR menu, and deletes all 
intermediary variables afterwards. Apart from different MENU numbers, 
this program works identical on my HP 28S.

However, the HP 49G+ has also an additional numeric solver (started with 
right shift 7), which looks nicer than the SOLVR menu. Especially, it 
shows all variables and their current values at the same time.

How can I access this menu in my UserRPL programs?

R. Pfeiffer
0
Reply Rudolf 6/22/2004 2:47:29 PM

"Rudolf Pfeiffer" <rpfei@ap.univie.ac.at> wrote in message 
news:40d845c4$0$33210$3b214f66@usenet.univie.ac.at...
> Hi!
>
> I would like to use the solver menu within one of my programs. A simple 
> example is (for solxing X^2 = Y)
>
> <<
> << X SQ Y - >> STEQ
> 2. 'Y' STO
> 30.01 MENU
> HALT
> { EQ Y X } PURGE
> 2 MENU
> >>
>
> This initializes the parameters, calls the SOLVR menu, and deletes all 
> intermediary variables afterwards. Apart from different MENU numbers, this 
> program works identical on my HP 28S.
>
> However, the HP 49G+ has also an additional numeric solver (started with 
> right shift 7), which looks nicer than the SOLVR menu. Especially, it 
> shows all variables and their current values at the same time.
>
> How can I access this menu in my UserRPL programs?
>
<<
<< X SQ Y - >> STEQ
2. 'Y' STO
-72.3 KEYEVAL
{ EQ Y X } PURGE
2 MENU
>>
(VPN) 


0
Reply Veli 6/22/2004 6:33:35 PM


1 Replies
164 Views

(page loaded in 0.073 seconds)

Similiar Articles:













7/18/2012 12:13:13 PM


Reply: