cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Need help navigating or using the PTC Community? Contact the community team. X

Programming Mathematical Expressions?

asdf
1-Visitor

Programming Mathematical Expressions?

I'm using the MathCAD Prime Student Edition, and I'm trying to write a program

IsOdd(x):=||if|mod(x,2)=1|||, but I can not place the = sign inside the expression. Instead, I end up with ||if|mod(x,2)|||=?

How do I place the = sign inside the expression?

Thanks.

1 REPLY 1
ValeryOchkov
24-Ruby IV
(To:asdf)

Use Ctrl + =

It is a Boolean operator Equal

Announcements

Top Tags