Post Reply 
HP Prime Program using Solve function
02-03-2020, 05:09 PM (This post was last modified: 02-03-2020 06:21 PM by Albert Chan.)
Post: #4
RE: HP Prime Program using Solve function
We had similar issues with limits, which got resolve with assume(¬x,symbol)

https://www.hpmuseum.org/forum/thread-11...#pid106011

(02-03-2020 01:46 AM)Grayhek Wrote:  
Code:
//Z for vapor
solve(0=1+β-q*β*(Z-β)/(Z+β*Є)/(Z+s*β),Z,1);
 Zv:=Z;
msgbox(Zv);

//Z for liquid
solve(0=1+β-q*β*(Z-β)/(Z+β*Є)/(Z+s*β),Z,β);
Zl:=Z;

Looks like Z is just a quadratics.
You can provide Z quadratic coefficients, and use proot, solving both roots.
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: HP Prime Program using Solve function - Albert Chan - 02-03-2020 05:09 PM



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