(34C) Ohm's Law
|
04-14-2021, 09:58 PM
Post: #1
|
|||
|
|||
(34C) Ohm's Law
I enjoy seeing how programs work then trying to improve upon them.
This is my version of the Ohm's Law program from HP's 34C Student Engineering Applications book. This version is fewer steps but takes longer to run. The program uses these formulas: V = IR P = IV = I^2R V=voltage(R0) I=current(R1) R=resistance(R2) P=power(R3) You store 2 quantities in the registers listed and clear the registers for the other two. The program computes the 2 unknowns and stores them in their respective registers. When the program ends, the display shows the power. The program first computes I. If I is unknown, then some pair of the remaining variables must be known. We attempt to compute I from all 3 pairs (V&R, V&P, or R&P). Now we know that I is valid. If R is unknown then only V or P could be unknown. We attempt to compute R from I&V, or I&P. Now we know that I and R are valid. We compute P and V from these two. Code: 001 LBL A |
|||
04-15-2021, 12:10 PM
Post: #2
|
|||
|
|||
RE: (34C) Ohm's Law
I like this kind of program subject. I would also like to have an example and instructions to test, which always usually explain everything. I have HP 35s, can you write the codes for this calculator? I hope I'm not asking too much. Pedro
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)