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

Community Tip - Did you know you can set a signature that will be added to all your posts? Set it here! X

lj6
2-Guest
2-Guest

Solve

Hi,

Could anyone tell me, why I'm getting just one solution when solving, when there are cleary two?

I already tried "solve, fully" btw.

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ttokoro
20-Turquoise
(To:lj6)

9 REPLIES 9
ttokoro
20-Turquoise
(To:lj6)

image.png

lj6
2-Guest
2-Guest
(To:ttokoro)

Thanks! That worked for me:)

LucMeekes
23-Emerald III
(To:lj6)

The question is legitimate, as there are 10 solutions (According to Mathcad 11):

LucMeekes_0-1575801387172.png

What version of Prime are you using, and if using 6...did you choose the symbolic solver?

 

To get all real-valued t solutions for any target value of c(t) numerically, you can use:

LucMeekes_0-1575807291449.png

Equivalent Prime(3.1) file is attached.

 

Success!

Luc

Maple.png

LucMeekes
23-Emerald III
(To:ValeryOchkov)

Yes, that's the 10 answers Maple (and Mathcad 11) give.

You could always use the numerical solver with more than one initial guess:

 

g0.jpg 

Alan

ValeryOchkov
24-Ruby IV
(To:lj6)

t.png

Werner_E
24-Ruby V
(To:lj6)

In the good old days Mathcad used Maple for its symbolic calculations and as you could see in Luc's post (with MC11 and Maple) Maple is able to find all solutions.

More than ten years ago Maple was replaced by MuPad and this was a big step backward. When Maple is not able to find an exact solution it switches to its own numeric mode and returns the first solution found. Modifiers like "solve, fully" or "assume,t>5" have no effect.

But it gets even worse: With Prime 6 PTC has introduced a new symbolic engine (in P6 you still can switch back to MuPad but in later Versions this will not be possible) and if you feed this engine with your problem, it calculates forever (I stopped it after two hours) and does not come up with a single solution.

 

So if you need other solutions than the one the symbolic is returning, you have to resort to Mathcads numeric methods (solve block or the root command) where you have more control by providing different guesses or a different range for root to look for.

 

In the good old days: Mathcad and Maple (Adam and Eve)!

 

Top Tags