Skip to main content
12-Amethyst
April 18, 2017
Question

Logic based results

  • April 18, 2017
  • 1 reply
  • 9962 views

Hi

I'm a novice with Mathcad. Attached is a Mathcad file Ive been working on. If you scroll to the end of the file you will notice that there is ratio called Mp/Mn. I want to program this in such a way that "If Mp/Mn is greater than or equal to 0.3 then the result should be OK. If it is less than 0.3 the result should be reported as "FAIL". How do I have program this. Kindly advice.

Regards

Sriprakash

1 reply

24-Ruby IV
April 18, 2017

May be so

sshastry12-AmethystAuthor
12-Amethyst
April 18, 2017

Hi

Thanks for your response. But how do you create this in the first place. Where do you get the "if"parameter from. Is it from the math tab > programming. I'm unable to figure out how to do this. Besides I don't want it to be visible as part of the calculation that everyone can see. It should be hidden. How do I achieve this. I would be great if you can explain this on my mcdx file.

Thanks

Sriprakash

24-Ruby III
April 18, 2017

You can just type the "if" condition together with the brackets from the keyboard. To hide the condition, use the pre-inserted Area block, and then close it (in Prime 4.0 you can set a password on this Area block).

Pic_1.png