Community Tip - Your Friends List is a way to easily have access to the community members that you interact with the most! X
I'm using MathCAD 9.0.0.0. In my program I have the formula...
I have every variable set in my program accept h2 that's in the equation twice. Is there a function to solve for h2? Otherwise, I guess I can rewrite the equation to solve for h2?
Thanks,
Brent
Solved! Go to Solution.
You have an error in your equation. There should be a multiplication between gamma.o and the opening parentheses.
To solve for h2 you could use the symbolic "solve" and evaluate the result numerical. But I would vote against using this way as I think that if you are just looking for a numeric result, you should also just use a numeric method.
In Prime you can use the "root" function (either by providing an interval for h.s or by providing a guess value) or you could use a solve block with "find".
Using the symbolic "solve" gives you an ugly looking result because the symbolics treats units as unknown variables and it does not know that kN = kPa*m2. But you can evaluate the result numerically.
Using he symbolics may make sense before you define you variables or after you make them unknown for the symbolics using the clear command:
Prime 9 sheet attached
You have an error in your equation. There should be a multiplication between gamma.o and the opening parentheses.
To solve for h2 you could use the symbolic "solve" and evaluate the result numerical. But I would vote against using this way as I think that if you are just looking for a numeric result, you should also just use a numeric method.
In Prime you can use the "root" function (either by providing an interval for h.s or by providing a guess value) or you could use a solve block with "find".
Using the symbolic "solve" gives you an ugly looking result because the symbolics treats units as unknown variables and it does not know that kN = kPa*m2. But you can evaluate the result numerically.
Using he symbolics may make sense before you define you variables or after you make them unknown for the symbolics using the clear command:
Prime 9 sheet attached
Thank you!!!
