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

Multiple "If" statements for equation variables

ptc-5231589
1-Newbie

Multiple "If" statements for equation variables

Hey guys,

I'm currently working through some engineering problems which have slightly different equations based on two input variables (see below).FIV.jpg

My previous experience with mathcad "if" statements led me to try and produce a multiple lined "if" statement like the one below for "alpha" but this does not seem to be working correctly as it is only picking up the lower "if" statement. The equation is based on the two variables "external pipe diameter" and a range of frequencies.

FIVMc.jpg

Any help with this would be greatly appreciated.

Regards,

Nick

1 REPLY 1

I figured this out after realising it wasn't a programming issue, just had to add an "And" statement and not use multiple lines.

If anyone want to know more just post and ill elaborate.

Announcements
Check out the latest
Mathcad Tip
"PTC Mathcad 15 / Prime 1-6 Update."