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

Community Tip - You can subscribe to a forum, label or individual post and receive email notifications when someone posts a new topic or reply. Learn more! X

Retrieve varning for solution that is outside an accepeted range

jfransson
13-Aquamarine

Retrieve varning for solution that is outside an accepeted range

Hi.

Does any one in the forum know if Mathcad can be used to evalate a result and report if the solution is placed outside a predefined range.

 

For example. I expect to recieve a result between 1 and 5. If the result ends up in a value of e.g. 10 I want to be able to read that the result is out of range. Preferably in a warning message.

ACCEPTED SOLUTION

Accepted Solutions
LucMeekes
23-Emerald III
(To:jfransson)

Two (of the many) possible ways:

LucMeekes_1-1578935710618.png

Success!
Luc

View solution in original post

2 REPLIES 2

You can do this with a boolean test in an if statement.  Mathcad will not pop up a warning message as if a system error had occurred.

LucMeekes
23-Emerald III
(To:jfransson)

Two (of the many) possible ways:

LucMeekes_1-1578935710618.png

Success!
Luc

Announcements

Top Tags