Question
If statement
- November 21, 2019
- 4 replies
- 2323 views
Hello,
I solve a non linear system by making use of MathCaf and I store the results in a variable (let's call it "sotto").
There are some values of the parameters (a, b, c, d) for which there is not any solution of the system, therefore
MathCAD returns an error message (see attachment).
I would like to add an "if statement " to monitor when the solution of the system does not exist.
For example, if the system does not have solutions, the variable SOL=0, otherwise SOL=1.
Is there a way (a built-in variable ?) that tells me that the system is impossible to be solved?
Thank you
Kate

