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
Given
Soln x=1 and x=-1
I have tried the solve box - the answer depends on the seed value.
Best approach to solve in Mathcad? Thanks.
Solved! Go to Solution.
A solve block in Prime only uses numerical approximation algorithms and will always give you just one solution which depends on the guess value, as you found out yourself.
The symbolic "solve" should give you all solutions, especially when you combine it with "fully". But the symbolic engine in Prime/Mathcad is to weak and not capable to do so - it yields just one of the two solutions:
You can plot the LHS and RHS of the equation to see that there are two solutions
You can also combine different guess values in a vector and so get both solutions in one go
Its no surprise that Wolfram Alpha does a much better job with this:
I guess that Mathcad 11 (with Maple under the hood) will do a better job, too.
A solve block in Prime only uses numerical approximation algorithms and will always give you just one solution which depends on the guess value, as you found out yourself.
The symbolic "solve" should give you all solutions, especially when you combine it with "fully". But the symbolic engine in Prime/Mathcad is to weak and not capable to do so - it yields just one of the two solutions:
You can plot the LHS and RHS of the equation to see that there are two solutions
You can also combine different guess values in a vector and so get both solutions in one go
Its no surprise that Wolfram Alpha does a much better job with this:
I guess that Mathcad 11 (with Maple under the hood) will do a better job, too.
"I guess that Mathcad 11 (with Maple under the hood) will do a better job, too."
Don't set the expectation for that old version of Maple too high:
Why is the first answer not (just) 1 instead of 1.0000000?
There's no way to get a negative or complex result from the symbolic solver.
Luc
@LucMeekes wrote:
"I guess that Mathcad 11 (with Maple under the hood) will do a better job, too."
Don't set the expectation for that old version of Maple too high:
Well, it seems that sometimes we glorify the good old things a bit too much. 🤔
Yes, the "root" function can be used, too. And you also can use multiple guesses in one go if you vectorize:
The root function in its variant with four arguments can also be evaluated symbolically, but like the symbolic "solve" it would yield just one of the many solutions and the range for x provided has no effect at all:
I found no way to talk Mathcad or Prime into giving a complete closed solution like