Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
Having a problem getting the following to work, I think it's really just logic, as trying to use to determine which one equation from 4 should be being used!
Solved! Go to Solution.
If you don't define and function, and(M, N) is a graphics function. Therefore use "and" operator that I show the second line and the if function operate.
If you don't define and function, and(M, N) is a graphics function. Therefore use "and" operator that I show the second line and the if function operate.
@ttokoro many thanks, don't fully appreciate what you have explained, but understand it's application 🙂
@SA_9950729 wrote:
Having a problem getting the following to work, I think it's really just logic, as trying to use to determine which one equation from 4 should be being used!
ttokoro's way is the correct way to address the problem; that is, using the boolean operator ∧ from the Math ribbon's Operator tab, in the Comparsion goup.
An alternative (having done all the hard work in writing and functions!) and one that I use for other booleans, is to define function's and, or, xor, etc to use as seems fit.
I've often found it necessary, not just convenient, to use these functions when I need to pass one or the other as an argument to a function.
You can't do that with an operator.
The attached worksheet was created in Mathcad Express 7, but the concept should work in almost any version of Mathcad.
Stuart
thanks for your feedback & input, appreciated..