Skip to main content
1-Visitor
Mar 27, 2013 3:29 AM UTC
Solved

How to solve an equation contains 2 variable range

Dear All Experts,

If we have 2 variable in a range in an equation, how can we solve it in mathcad programme.

for example in attached mathcad, the variables are:

1) x - is for the variation of pressure

2) i - the variation of layer of a pipe.

my aim is to calculate the circumferential stress through each layer by varying the pressure.

Thank you in advance

Regards

-Akmal-

RaikoAnswer
17-Peridot
Mar 27, 2013 8:12 AM UTC

Hello Akmal,

maybe this corrected worksheet does the trick. Your matrix index went one iteration to far and I simplified, I hope correctly, the loop.

Raiko

4 replies

Raiko17-PeridotAnswer
17-Peridot
Mar 27, 2013 8:12 AM UTC

Hello Akmal,

maybe this corrected worksheet does the trick. Your matrix index went one iteration to far and I simplified, I hope correctly, the loop.

Raiko

Translate
1-Visitor
Mar 27, 2013 9:12 AM UTC

Dear Raiko,

actually when i prepare just based on my pre-mature understanding on the concept and did not know really on what did the return function works for.

Anyway it does resolve my problem. Thank you very much for your help

regards

-Akmal-

Translate
1-Visitor
Mar 29, 2013 12:43 AM UTC

Dear Raiko,

i'm not sure you did saw my follow on discussion further on to almost the same situation but a bit more complex with the one sent earlier.

Appreciate your assistance on this situation as well. Below is the message i've extracted from the other discussion topic i've opened.

Thank you in advance

Regards

-Akmal-

*************************************************************************************************************************************************************************************

Dear Andy,

i've tried both of them but still it has divide by zero.

anyway if later i manage to solve "divide by zero" the problem, i still have problem in determine my LBC value as it takes too long to calculate and i have to stop it.

The LBC is dependent on:

1) Sigma_y and Ax value where they are suppose to be linked to changes of external pressure Prx.

2) Sigma_X and sigma_XCR where they are link to the variation of bending moment.

i ammend a bit on the spreadsheet i sent earlier with some remark for clearer picture

Regards

-Akmal-

*************************************************************************************************************************************************************************************

Translate