Community Tip - When posting, your subject should be specific and summarize your question. Here are some additional tips on asking a great question. X
Hi!
I'am having a problem wanting to solve a third degree polynomial. This is ok, and mathcad retuns three solutions, but I want mathcad to return only the solutions within a defined range, e.g [0,10]. I have tried to this with an if-function, but no luck there. Uploading a file. Someone please help.
BA
You can't compare a real number and a complex number. If you know the desired answer is real, then the first step is to eliminate all the complex answers. If the desired answer might be complex then you have to compare the real and imaginary parts separately (each can fall within a specified range).