Have you used your calculator for something that was not really math related?
|
03-16-2017, 01:03 PM
Post: #38
|
|||
|
|||
RE: Have you used your calculator for something that was not really math related?
(03-09-2017 09:48 AM)brickviking Wrote: I don't quite know if this is math-related or not, but here goes. One really simple thing I use my HP50G for is to keep a list of V1/Vr/V2/Vfr speeds in an array which I feed with table data, i.e. I look up the weight and flaps from a paper table, get speeds, put them into the array. Trying to automate that is considerably beyond me and my current programming skills on UserRPL (practically non-existent). Here is a simple way to lookup values from tables. Nothing polished, just to give you an idea. 1) Create a variable 'SPD' with a list of lists with mass and speeds. Each sub-list contains the mass as its first element and then the associated speeds. The first element is the one which is used for the lookup. (do not type in the comments shown at the right) Code:
2) Create a simple lookup program. This program takes the mass from the stack and then walks through the list of speeds. It stops when the next higher speed is found. I.e. if the table contains masses of 14 and 15 tons, and the actual mass given is 14.5 then the values for the higher speed (15 tons) will be returned. I used the INFORM dialog to show the results. If the dialog is closed with "OK" the selected sub-list with the values is returned, in case of cancel nothing is returned. The input mass is also left on the stack. Code:
|
|||
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 2 Guest(s)