(71B) Right Triangle Solver
|
12-23-2016, 07:20 PM
Post: #1
|
|||
|
|||
(71B) Right Triangle Solver
Right Triangle Solver
The program RIGHTTRI is a solver for the sides A, B, and C. To solve for the third side, the desired side needs to have a 0 value, while the other two sides have non-zero values. Each time a solution is found, the values of A, B, and C are reset (set to 0). Program RIGHTTRI 502 Bytes, 12/22/2016 Code: 10 DESTROY A,B,C,Z$ Notes: The line of IF A=0 AND B AND C… tests whether A is zero, B and C are non-zero. You can test whether a variable is non-zero by just typing the variable in an IF condition. The function SQR is the square root function of the HP 71B. Anything following an exclamation point (!) is a comment. |
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)