Skip to main content
1-Visitor
August 27, 2013
Question

Multiple "If" statements for equation variables

  • August 27, 2013
  • 1 reply
  • 2269 views

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-Visitor
September 12, 2013

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.