Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X
Can someone help me with this? I am trying to replicate this resolution on MathCad but I am doing something wrong or not using the right functions to solve it. Can someone tell me what am I doing wrong? Thank you in Advance.
Solved! Go to Solution.
I can't open the rar-archives you attached, being told that they are corrupt.
You have a system of two equations in L and Ti. To solve this system symbolically, you would have to put the two equations in a 2 x 1 matrix and then uses "solve,L,Ti".
But Prime would choke on the units, because the symbolics are not unit aware and treats them as unknown variables. Bad, because the "unit" °C is not a simple factor but a conversion function.
Better you use a numeric solve block as shown below:
Attach please the Mathcad Prime sheet!
Can you look at the file down in the next answer, please? I sent the file in the wrong reply box. Thanks
Be careful with temperature units--there are two types: temperature degrees Kelvin/Centigrade and Rankine/Fahrenheit and delta temperature. Some of your values need to be deltas.
See if the attached file helps. I couldn't see a value for Ti, so I couldn't solve for L, but you can create a function.
Thanks for the Tip! The question doesn't give the Ti. It seems that can be solved simultaneously using both equations as shown in the paper.
I can't open the rar-archives you attached, being told that they are corrupt.
You have a system of two equations in L and Ti. To solve this system symbolically, you would have to put the two equations in a 2 x 1 matrix and then uses "solve,L,Ti".
But Prime would choke on the units, because the symbolics are not unit aware and treats them as unknown variables. Bad, because the "unit" °C is not a simple factor but a conversion function.
Better you use a numeric solve block as shown below:
Addendum:
Here is a way to do it with the symbolic solve command.
The trick is to get rid of the °C conversion function by providing all temperatures in Kelvin. This is achieved by using an inline evaluation after the assignment (yellow shaded areas)
Amazing! Thank you!
As for the question you asked by PM (use a forum/thread reply for this to keep the thread public and consistent): The guess values were chosen arbitrarily. Mathcads numeric solver needs values to start with. If a (non-linear) system has more than one set of solutions, the guess values may decide which set the solver will finally arrive at. And some systems are very sensible wrt the guesses and solving will fail if you don't provide guesses close enough to the solutions.
And while your system isn't linear, its quite well behaved and you will get your solutions using any guess values. Of course the guesses must have the correct units and you can't chose L=0 (divison by zero in your expressions). Otherwise you may use any guesses you like - give it a try.
To prevent "choking on units" (and even if no units are involved):
May be this book will be any help to you
Thermal Engineering Studies with Excel, Mathcad and Internet