Post Reply 
HP 30b Programming
03-24-2024, 02:53 AM
Post: #7
RE: HP 30b Programming
Here is my program to find a root of (((x^3)*COS (X/2))+1/2)*SRT(4-X^2):
I used Prgm #1 slot… and am in RPN and RAD mode:

RCL 1 (guess for root of interest)
3
Y^X
RCL 1
2
/
COS
*
2
1/X
+
RCL 1
X^2
+/-
4
+
SQRT
*
RCL 2
-
STOP

Using a guess of -1 for the root closest to that value (store the guess in storage 1), and searching for a root where f(x)=0, store 0 in storage 2.

Hold the blue shift key and the solve key simultaneously (solve is the math menu key) to produce the word SOLVE. Enter 1 to solve for variable 1. Instantly, the correct solution of -.816729997302 appears!
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
HP 30b Programming - lrdheat - 03-12-2024, 04:35 AM
RE: HP 30b Programming - BruceH - 03-12-2024, 08:58 PM
RE: HP 30b Programming - rprosperi - 03-13-2024, 12:13 PM
RE: HP 30b Programming - Pierre - 03-12-2024, 11:06 PM
RE: HP 30b Programming - Eddie W. Shore - 03-13-2024, 12:47 PM
RE: HP 30b Programming - lrdheat - 03-24-2024 02:53 AM
RE: HP 30b Programming - lrdheat - 03-24-2024, 03:11 AM
RE: HP 30b Programming - lrdheat - 03-28-2024, 02:17 AM
RE: HP 30b Programming - Katie Wasserman - 03-28-2024, 02:13 PM
RE: HP 30b Programming - ctrclckws - 03-28-2024, 07:45 PM



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