HP Forums
functions - Printable Version

+- HP Forums (https://www.hpmuseum.org/forum)
+-- Forum: HP Calculators (and very old HP Computers) (/forum-3.html)
+--- Forum: HP Prime (/forum-5.html)
+--- Thread: functions (/thread-12132.html)



functions - rolfjg8 - 01-07-2019 06:55 PM

My HP 48G/GX has a function to solve for a variable in symbolic, for example: C=2*Pi*r*h, solving for "r". The HP 48G/GX returns the formula for r=C/2*Pi*h. I realize that this is a simple formula to solve for the variable r or h, but in complicated formulas the solve for a variable function in
symbolic would be appreciated.
Does the HP Prime Graphing Calculator has a function like that? I went through the "Catalog" menu, the app menus, but could not find one.


RE: functions - Didier Lachieze - 01-07-2019 08:16 PM

Have you tried: solve('C = (2*π*r*h)',r) ?


RE: functions - compsystems - 01-07-2019 11:36 PM

[CAS] MODE (Symbolic operation)
solve( C = 2*π*r*h, r, '=' ) [enter] r = C/(2*h*π)

HOME MOD (Numerical operation)
solve(C = (2*π*r*h),r,'=') [enter] error


RE: functions - DrD - 01-08-2019 09:33 AM

(01-07-2019 11:36 PM)compsystems Wrote:  ...
HOME MOD (Numerical operation)
solve(C = (2*π*r*h),r,'=') [enter] error

With the use of double quotes, here are two ways to reach the CAS solve() command:

[HOME]
CAS.solve("'C = (2*π*r*h)',r");
CAS("solve('C = (2*π*r*h)',r)");


RE: functions - informach - 01-08-2019 08:08 PM

Hi!, rolfjg8 :
Per example, if you needed calculate, the surface area of cylinder, as ...
C=2*pi*R*(H+R) =~ 6.28319*R*(H+R)
Assuming = Base radius "R" and height "H"
Then in the HP PRIME, you can in CAS MODE and Apps Solve ...
Write in Solve Symbolic View ...
C=6.28319*R*(H+R)
Press button Num and see ...
C:
R:
H:
Example ...
R= 5
H=25
Put the bar in C, and press Solve.
The result, is ... 942.4785
If needed find the radius "R", the formulae, is ...
R=C/6.28319*(H+R)


RE: functions - bbenson - 01-09-2019 03:22 AM

(01-08-2019 09:33 AM)DrD Wrote:  
(01-07-2019 11:36 PM)compsystems Wrote:  ...
HOME MOD (Numerical operation)
solve(C = (2*π*r*h),r,'=') [enter] error

With the use of double quotes, here are two ways to reach the CAS solve() command:

[HOME]
CAS.solve("'C = (2*π*r*h)',r");
CAS("solve('C = (2*π*r*h)',r)");

I tried the second one and got a syntax error...
[Image: aAMsVdL]


RE: functions - parisse - 01-09-2019 07:12 AM

If you want to do symbolic manipulations, press the CAS key!