Community Tip - Learn all about PTC Community Badges. Engage with PTC and see how many you can earn! X

Translate the entire conversation x

Multiple "If" statements for equation variables

ptc-5231589
1-Visitor

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

Top Tags