Post Reply 
Solving for equations the HP50, 49.. way.
03-25-2023, 12:19 AM
Post: #10
RE: Solving for equations the HP50, 49.. way.
(03-24-2023 05:52 PM)Luigi Sardella Wrote:  One correction in my formula: 1/(2*pi) instead of 1/pi.

I tried the solve app after defining the variables with meaningful names, and it worked. Now I would like to give each problem its name. Can I save those apps with names?

Saving an app under another name is covered in the manual on page 64. Press Apps, select the Solver app, press Save and you'll be prompted to give a new name. The new copy will appear at the end of the list of Apps - so you may need to scroll the screen (using down arrow or dragging the screen) to see it. You can copy your copy as well to save starting from scratch if required.

Quote:Also, in the RPN machines the equation to be solved can be computed in a program, not by a single formula. In the example I made, it would be

<< freq 1 2 / pi / induct capac * sqrt / - >>

'LC_eqn'

STO

Is it possible to use the HP Prime programming language in a similar way? And what about calling a named solve app from within a HPPPL program?

Many thanks for your help.

You can create a user-defined function and then reference that in the solver app. Some restrictions apply - it must be numerically solvable which basically means not constant, and not discontinuous.

Page 508 in the manual tells you how to do this. It would be well worth your time doing the examples and reading-up on the other capabilities. For example, SHIFT+Info (Info is on the APPS key) opens a notes page where you can put some reminder notes that are specific to that copy of the app - handy for reminding yourself what the equation variables represent, for example.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: Solving for equations the HP50, 49.. way. - BruceH - 03-25-2023 12:19 AM



User(s) browsing this thread: 2 Guest(s)