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

Community Tip - Have a PTC product question you need answered fast? Chances are someone has asked it before. Learn about the community search. X

Return within a range

babnar
1-Visitor

Return within a range

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

1 REPLY 1
RichardJ
19-Tanzanite
(To:babnar)

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).

Announcements

Top Tags