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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

4-Participant

## Pressure Resulting from Shrink Fit

Hello folks,

MathCAD Prime 3.0 novice user here with a question. I am trying to duplicate example 51.4 from Lindeburg to determine the pressure resulting from a shrink fit betwen two cylinders. I have attached a .PDF of the problem. I have also attached a coply of my MathCAD Prime 3.0 file which I am struggling with.

To me, the problem involves solving a system of equations for "P". I have put the entire problem into a solve block but I am not sure if this is the correct approach. The three regions of the solve bloc "Guess Values", "Contraints", and "Solver" regoins seem to run together.

Best regards,

Bill

1 ACCEPTED SOLUTION

Accepted Solutions
23-Emerald I
(To:ptc-4961564)

The original version of Mathcad used to be very particular about what we could put inside solve blocks.  Take all of your problem definitions outside the solve block.

When a parameter depends on the value of a property that might change (like pressure) create a function definition.  (See examples.)

Then you wind up with a very small, readily understood solve block.

5 REPLIES 5
21-Topaz II
(To:ptc-4961564)

Hi,

In the solve block you should use the comparison operator, as follows:

4-Participant
(To:-MFra-)

Thanks F.M.,

My current syntax for the solve funtion is:

find(P):=[  ]

This still does not return a result for the pressure "P".  Is the syntax above correct?

Bill

21-Topaz II
(To:ptc-4961564)

Hi Bill,

Greetings

23-Emerald I
(To:ptc-4961564)

The original version of Mathcad used to be very particular about what we could put inside solve blocks.  Take all of your problem definitions outside the solve block.

When a parameter depends on the value of a property that might change (like pressure) create a function definition.  (See examples.)

Then you wind up with a very small, readily understood solve block.

4-Participant
(To:Fred_Kohlhepp)

Fred,

Thanks for your help and the changes you made to my file.

All the best,

Bill

Announcements
Top Tags