Start a topic
With the exception of Windchill, The PTC Community is on read-only status until April 6 in preparation for moving our community to a new platform. Learn more here
cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

The PTC Community is on temporary read only status in preparation for moving our community to a new platform. Learn more here

Translate the entire conversation 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