How to Solve for Two Variables in Mathcad?

1 reply · 4K views · last reply
fonz
Messages
151
Reaction score
5
I'm having trouble solving for two variables in Mathcad. I'm relatively inexperienced with this software and I'm not sure whether it's the software or my math but anyway I've included screen dumps to highlight the problem. I have tried the Given/Find block in two different ways. The first does not give me an answer as you might notice and the second just crashes every time I try to evaluate 'ans'

http://www.kalleload.net/uploads/thumbnails/qypdfcpclaug.png
click to enlarge

http://www.kalleload.net/uploads/thumbnails/lpcpnv_nhbvbyflrfta.png
click to enlarge
 
fonz said:
I'm having trouble solving for two variables in Mathcad. I'm relatively inexperienced with this software and I'm not sure whether it's the software or my math but anyway I've included screen dumps to highlight the problem. I have tried the Given/Find block in two different ways. The first does not give me an answer as you might notice and the second just crashes every time I try to evaluate 'ans'

I've only looked at the first image. You need to provide "guess" values for the variables you wish to find in a solve block.
 
Attachments
  • Mathcad worksheet defining A1 = 1.13e-4 m^2, A2 = 2.83e-5 m^2, P1 = 550000 Pa, P2 = 101325 Pa, rho1 = 6.5 kg/m^3, rho2 = 1.204 kg/m^3, guesses v1 = v2 = 1 m/s, a Given block with P1 + rho1 v1^2/2 = P2 + rho2 v2^2/2, and find(v1,v2) returning 7.922 and 863.508 m/s.
    phys - 12 05 28 solve block 01.jpg
    10.9 KB · Views: 838