The Museum of HP Calculators

HP Forum Archive 16

[ Return to Index | Top of Index ]

How to solve on an hp 50G
Message #1 Posted by Mark on 20 Sept 2006, 11:32 p.m.

Hi guys, here's what I need to do. In the equation L[sin(A)]= I need to know how I can designate a range for L of [0,4] and a range for A of [0,180]. Then I need for the calculator to generate random values for L and A within the ranges and store the results in two lists, one for when the answer is greater than or equal to 2 and another when the result is less than or equal to two.

Thanks for the help.

      
Re: How to solve on an hp 50G
Message #2 Posted by Happy HP User on 22 Sept 2006, 5:06 a.m.,
in response to message #1 by Mark

First, try starting with "An Easy Course in Programming the HP48" from Grapevine publications. Get a copy of Eduardo Kalinowki's "Programming in User RPL" for the HP49. Get a copy of the 48 AUR, those 48 commands are still all within the ROM of the HP50. Download anything remotely similar to what you want from www.hpcalc.org. The best way to learn code is to modify existing code. From there it's really just a short hop to writing your own completely from scratch. Happy Programming!

            
Re: How to solve on an hp 50G
Message #3 Posted by James M. Prange (Michigan) on 22 Sept 2006, 8:34 a.m.,
in response to message #2 by Happy HP User

Also get the Museum CD set / DVD and look at Bill Wickes's "Insights" books. See http://www.hpmuseum.org/cd/cddesc.htm.

Also download a PDF file of the 49g+ AUR from hpcalc.org; I believe that the only difference on a 50g (compared with a 49g+ with the same ROM revision installed) will be that system flag -78 is used for controlling which port (serial or USB) is used for communications via wire, and VERSION should say "HP50-C" instead of "HP49-C".

Regards,
James

                  
Re: How to solve on an hp 50G
Message #4 Posted by Happy HP User on 23 Sept 2006, 3:49 a.m.,
in response to message #3 by James M. Prange (Michigan)

I do believe you're right on this. One of the really neat things about the continuing 49/49+/50 line is that everything seems compatible. And all the great old commands of the 48 are still within ROM. I'm not the best programmer around, but I've got dozens of RPL programs to help automate things I do, get it done right and quick. Of course for big, heavy duty apps MatLab works well, but it has its quirks, and you need a pc.


[ Return to Index | Top of Index ]

Go back to the main exhibit hall