Program Lines: (In RPN mode)

       

Checksum and length: 62A0 11        

Checksum and length: 221E 11             

Checksum and length: D45B 18   

 

Description:

Setup for X.

Index for X.

Branches to main routine.

Setup for Y.

Index for Y.

Branches to main routine.

Main routine.

Stores index in I

Defines program to solve.

Solves for appropriate variable.

Displays solution.

Ends program.

Calculates f (x,y). Include INPUT or equation prompting as required.

Integrating a Program

In chapter 8 you saw how you can enter an equation (or expression) — it's added to the list of equations — and then integrate it with respect to any variable. You can also enter a program that calculates a function, and then integrate it with respect to any variable. This is especially useful if the function you're integrating changes for certain conditions or if it requires repeated calculations.

To integrate a programmed function:

1.Enter a program that defines the integrand's function. (See "To write a program for FN" below.)

Solving and Integrating Programs 15-7

Page 241
Image 241
HP 35s Scientific manual Integrating a Program, Program Lines In RPN mode