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

Retrieve varning for solution that is outside an accepeted range

SOLVED
Highlighted
Contributor

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.

1 ACCEPTED SOLUTION

Accepted Solutions

Re: Retrieve varning for solution that is outside an accepeted range

Two (of the many) possible ways:

LucMeekes_1-1578935710618.png

Success!
Luc

View solution in original post

2 REPLIES 2

Re: Retrieve varning for solution that is outside an accepeted range

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.

Re: Retrieve varning for solution that is outside an accepeted range

Two (of the many) possible ways:

LucMeekes_1-1578935710618.png

Success!
Luc

View solution in original post

Announcements