Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X
I have a function like this.
And I want to get the solution when t>2.21. if I use SOLVE only, it get the answer shown in blue arrow.
How can I get the answer in red arrow? Thanks.
Solved! Go to Solution.
Actually unfortunately the symbolic "solve" very often ignores an "assume" modifier, but I am surprised that it states "no solution found" instead of just returning the solution 1.5... which it also finds without "assume".
But never mind, you don't need an "exact" symbolic solution anyway, just a numeric value. So its better to use a numeric method to get it.
Prime offers the "root" function which can be used in two ways (either by providing an interval or by providing a guess value) and a solve block to do the job. The picture shows the three ways to obtain the desired solution
Actually unfortunately the symbolic "solve" very often ignores an "assume" modifier, but I am surprised that it states "no solution found" instead of just returning the solution 1.5... which it also finds without "assume".
But never mind, you don't need an "exact" symbolic solution anyway, just a numeric value. So its better to use a numeric method to get it.
Prime offers the "root" function which can be used in two ways (either by providing an interval or by providing a guess value) and a solve block to do the job. The picture shows the three ways to obtain the desired solution
Though Werner demonstrated this is easily solvable numerically, I don't believe the symbolic engine/keyword "assume" should be behaving this way, so I submitted a case to PTC Support on your behalf and attached your worksheet. Hopefully R&D can use this information to fix the issue in a future release of Mathcad Prime.
Thanks!
I agree that "assume" is not behaving correctly in this example.
As I wrote this was an annoyance even in real Mathcad that "assume" often was ignored, mostly when the symbolics had to switch to its numeric mode because no algebraic solution could be found.
But it got even worse in Prime. Here a simpler example (the error message still is "no solution found")
Its a screenshot from Prime 6
and here the same using the legacy symbolic engine in Prime 6
It was all done in Prime 6 and maybe the symbolics has been improved in the meantime ???
The original problem of @Ackurdeeve can't be solve using the old engine, either. The behaviour is different, though - instead telling us that no solution could be found, muPad simply ignores the assume modifier which is what I am used from real Mathcad but of course it isn't any better: