Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.math.mathematica

Topic: Wrong Answer
Replies: 1   Last Post: May 1, 2013 3:35 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Chris Arthur

Posts: 25
Registered: 10/4/11
Wrong Answer
Posted: Apr 26, 2013 11:08 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello,

I've discovered that Solve[] gives me the wrong answer for some
polynomial equations. For example, consider the following equation,
which should have exactly one positive, real answer for t.

p:=(px + t vx)^4 + (py + t vy)^4==1
r:={px->0.5,py->0.5,vx->0.5,vy->0.5}
NSolve[p/.r,t]

NSolve gives the right answers if I substitute for px,py,vx and vy
before solving. On the other hand, if I use Solve[] this way:

Solve[p,t]/.r

I get a different answer, and it's not correct.
Does Solve[] just malfunction with quartic polynomials or is there
something else happening?

Chris

mathematica 5.2

Solve[p]



Date Subject Author
4/26/13
Read Wrong Answer
Chris Arthur
5/1/13
Read Re: Wrong Answer
Daniel

Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.