HP15C using integration in a program

05072022, 06:58 AM
Post: #2




RE: HP15C using integration in a program
Hi Edwin,
its not complicated and can best explained by a small example. Assume you want to write a program that integrates the function y=x^2. Lower limit is in the y register, upper limit in the x register. Your main program is LBL A. And you need a second program with the function to integrate. Assume this is LBL B. LBL A // 001  42,21,11 f (S) B // 002  42,20,12 (S) stands for Integral sign above the multiplication key g RTN // 003  43 32 LBL B // 004  42,21,12 g x² // 005  43 11 g RTN // 006  43 32 Example: To get the integral from 0 to 2 of y=x²: 0 ENTER 2 fA > 2,667 which is correct 

« Next Oldest  Next Newest »

Messages In This Thread 
HP15C using integration in a program  edwinst  05062022, 06:58 AM
RE: HP15C using integration in a program  rawi  05072022 06:58 AM
RE: HP15C using integration in a program  edwinst  05072022, 07:27 AM

User(s) browsing this thread: 1 Guest(s)