Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations pierreick on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

Help with IF statements

Status
Not open for further replies.

CadLady

Mechanical
Jul 21, 1999
19
How to I write the following in MathCAD?

If Pr >= 0.51 and Pr <= 0.7 then Scf = 2.4 + ((Pr-0.51)^3 * (3.82))



If Pr ? 0.70 then Scf = 3.125 + ((Pr-0.7) * (8.25))

Thanks,
CadLady
 
Replies continue below

Recommended for you

Possible correction to Fawkes post. You need a &quot;]&quot; square bracket after scf:=. The keystrokes then become scf:]answer}condition.

What do you mean by &quot;pr?0.7&quot;. Is the &quot;?&quot; supposed to be <,=, or >?

More help to follow when I know what this means... Imagineer
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor