Using the if statement
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Using the if statement
I'm trying to type this conditional statement and I don't know how to. Could someone please help me type this function?
I need a comma after V-battery and then an absolute value before the closing bracket, and PTC doesn't let me type that.
Solved! Go to Solution.
- Labels:
-
Mathcad Student Edition
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I tried that too, but still I can't get to what its supposed to be...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
do not use square brackets, use parentheses.
Martin Hanák
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi,
I tried that too, but still I can't get to what its supposed to be...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
and in my book, it is using square brackets.
Intro to power electronics and motor control page 718.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@cadtelsim wrote:
and in my book, it is using square brackets.
Intro to power electronics and motor control page 718.
Hi,
please study help pages to understand if command.
You can also search community web to get more information.
https://community.ptc.com/t5/Mathcad/Compound-IF-statement-with-text/m-p/845500
Martin Hanák
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
@cadtelsim wrote:
Hi,
I tried that too, but still I can't get to what its supposed to be...
Hi,
if command syntax in your expression is incorrect, use something like this if(mod(omega*t,pi),"true","false")
Martin Hanák