Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi all, can anyone teach me how to produce the results based on the if statement as shown in the attached picture? Thank you for your kind help:')
Solved! Go to Solution.
You have just one problem: What should be the result if (x/150)=tw... (if they happen to be exactly equal)?
Anyway, here's your function, assuming equality should instruct to use equation 1+1:
Since you didn't attach the worksheet, and didn't state which version of Prime you're using here's an example:
Success!
Luc
what if the value of 2 and 20 are in equation, not a single digit?
how can we produce a result following the if statement? example as below. btw, i'm using MathCad Prime 10.0.0.0
Simply add two additional arguments to Luc's function
Hi @NA_11204287,
I wanted to see if you got the help you needed.
If so, please mark the appropriate reply as the Accepted Solution or please feel free to detail in a reply what has helped you and mark it as the Accepted Solution. It will help other members who may have the same question.
Please note that industry experts also review the replies and may eventually accept one of them as solution on your behalf.
Of course, if you have more to share on your issue, please pursue the conversation.
Thanks,