(50g) Moment of Inertia - Printable Version +- HP Forums (https://www.hpmuseum.org/forum) +-- Forum: HP Software Libraries (/forum-10.html) +--- Forum: General Software Library (/forum-13.html) +--- Thread: (50g) Moment of Inertia (/thread-1700.html) |
(50g) Moment of Inertia - Eddie W. Shore - 06-24-2014 02:48 AM Source: Browne, Michael E. Ph. D "Schaum's Outlines: Physics for Engineering and Science" 2nd. Ed McGraw Hill: New York. 2010. HP 50g: INERTIA 6/23/2014 Code:
Notes: * I just stored a value in the variables c, a, b, m, and r, and used the right arrow ( → ) to make the variables local. * The IF 0 == THEN KILL END sequence handles the case the user chooses CANCEL over its options. * The consecutive PROMPT commands saved space instead of using INFORM. * INERTIA demonstrates the CASE structure |