cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Can someone help me with this resolution Sketch ?

Rodyxd
3-Visitor

Can someone help me with this resolution Sketch ?

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.

ques 3,11.jpg

1 ACCEPTED SOLUTION

Accepted Solutions
Werner_E
24-Ruby V
(To:Rodyxd)

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:

Bild.png

View solution in original post

11 REPLIES 11

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

Fred_Kohlhepp
23-Emerald I
(To:Rodyxd)

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. 

Werner_E
24-Ruby V
(To:Rodyxd)

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:

Bild.png

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)

Bild2.png

Rodyxd
3-Visitor
(To:Werner_E)

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.

 

LucMeekes
23-Emerald III
(To:Werner_E)

To prevent "choking on units" (and even if no units are involved):

LM_20180103_solve.png

May be this book will be any help to you

Thermal Engineering Studies with Excel, Mathcad and Internet

Top Tags