The Museum of HP Calculators

HP Forum Archive 14

[ Return to Index | Top of Index ]

Integrating "program" expressions on RPL machines?
Message #1 Posted by Karl Schneider on 29 Dec 2003, 3:55 a.m.

RPL (HP-28/48/49) gurus --

I was curious if there was any way to perform numerical integration on a procedure defined as an RPL program (<< >>), rather than an algebraic expression (' ') on the HP-28, -48, or -49 machines. I'm not seeing any such capability in the manuals, 48G integration menu, or the stack-argument commands for the respective machines.

By contrast, the RPN machines with built-in functions for numerical integration (42S, 32S, 32Sii, 15C, 34C) allow (32Sii) or require (all other models) integrands to be defined as RPN routines. This allows maximum flexibility to the user for defining the integrand.

For example, what if the user wants to defined an integrand that includes a finite series or conditional test? How would that be done on an RPL machine?

Thanks,

-- Karl

      
Re: Integrating "program" expressions on RPL machines?
Message #2 Posted by Veli-Pekka Nousiainen on 29 Dec 2003, 6:30 a.m.,
in response to message #1 by Karl Schneider

"I was curious if there was any way to perform numerical integration on a procedure defined as an RPL program (<< >>), rather than an algebraic expression (' ') on the HP-28, -48, or -49 machines. I'm not seeing any such capability in the manuals, 48G integration menu, or the stack-argument commands for the respective machines."

Change the program to a function simply by using arguments: << -> argument1 argument2 << argument1 SIN 'COS(argument2)' EVAL + >> >> [VPN]


[ Return to Index | Top of Index ]

Go back to the main exhibit hall