Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.soft-sys.math.mathematica > #14327
| From | christopher arthur <chris.arthur1@gmail.com> |
|---|---|
| Newsgroups | comp.soft-sys.math.mathematica |
| Subject | Wrong Answer |
| Date | 2013-04-27 03:08 +0000 |
| Message-ID | <klfff6$jl3$1@smc.vnet.net> (permalink) |
| Organization | Time-Warner Telecom |
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]
Back to comp.soft-sys.math.mathematica | Previous | Next — Next in thread | Find similar | Unroll thread
Wrong Answer christopher arthur <chris.arthur1@gmail.com> - 2013-04-27 03:08 +0000 Re: Wrong Answer Clif McInnis <c_mcinnis@hotmail.com> - 2013-04-28 04:58 +0000
csiph-web