Integrating "program" expressions on RPL machines?



#3

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


#4

"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]


Possibly Related Threads...
Thread Author Replies Views Last Post
  Writing RPL programs on OS X Sean Freeman 18 1,363 11-30-2013, 03:59 PM
Last Post: Sean Freeman
  48G vs 49G+ User RPL Speed Comparison John Colvin 7 597 11-16-2013, 10:07 PM
Last Post: Han
  HP Prime: run a program in another program Davi Ribeiro de Oliveira 6 607 11-11-2013, 08:28 PM
Last Post: Davi Ribeiro de Oliveira
  RPL 32 David Hayden 4 482 11-11-2013, 11:34 AM
Last Post: David Hayden
  HP Prime - Saved formulas, expressions CR Haeger 6 549 10-07-2013, 08:25 PM
Last Post: CR Haeger
  HP-Prime: issues in entering expressions fhub 30 1,881 10-02-2013, 12:32 AM
Last Post: Tim Wessman
  HHC / HP Museum Programming Contest for RPN and RPL machines Gene Wright 18 1,348 09-22-2013, 09:39 AM
Last Post: Miguel Toro
  Product Series and Limit Expressions on the 50G Matt Agajanian 13 944 09-03-2013, 02:02 PM
Last Post: Simone Cerica
  RPN on other machines Palmer O. Hanson, Jr. 4 380 04-10-2013, 11:23 AM
Last Post: Palmer O. Hanson, Jr.
  OT: Google evaluates mathematic expressions (with a twist) DavidShenk 4 444 02-13-2013, 09:05 AM
Last Post: Juan J

Forum Jump: