Re: Wrong Answer
- To: mathgroup at smc.vnet.net
- Subject: [mg130635] Re: Wrong Answer
- From: Clif McInnis <c_mcinnis at hotmail.com>
- Date: Sun, 28 Apr 2013 00:58:39 -0400 (EDT)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-outx@smc.vnet.net
- Delivered-to: mathgroup-newsendx@smc.vnet.net
- References: <klfff6$jl3$1@smc.vnet.net>
Not sure if this will be helpful but here is what I get with ver. 9.0.1 In[17]:= 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] Solve[p, t] /. r Solve[p] Out[19]= {{t -> -2.68179}, {t -> -1. - 1.68179 I}, {t -> -1. + 1.68179 I}, {t -> 0.681793}} During evaluation of In[17]:= Power::infy: Infinite expression 1/Sqrt[0.] encountered. >> During evaluation of In[17]:= Infinity::indet: Indeterminate expression 0. ComplexInfinity encountered. >> During evaluation of In[17]:= Power::infy: Infinite expression 1/Sqrt[0.] encountered. >> During evaluation of In[17]:= Infinity::indet: Indeterminate expression 0. ComplexInfinity encountered. >> During evaluation of In[17]:= Power::infy: Infinite expression 1/Sqrt[0.] encountered. >> During evaluation of In[17]:= General::stop: Further output of Power::infy will be suppressed during this calculation. >> During evaluation of In[17]:= Infinity::indet: Indeterminate expression 0. ComplexInfinity encountered. >> During evaluation of In[17]:= General::stop: Further output of Infinity::indet will be suppressed during this calculation. >> Out[20]= {{t -> Indeterminate}, {t -> Indeterminate}, {t -> Indeterminate}, {t -> Indeterminate}} Out[21]= {{px -> -t vx - (1 - py^4 - 4 py^3 t vy - 6 py^2 t^2 vy^2 - 4 py t^3 vy^3 - t^4 vy^4)^(1/4)}, {px -> -t vx - I (1 - py^4 - 4 py^3 t vy - 6 py^2 t^2 vy^2 - 4 py t^3 vy^3 - t^4 vy^4)^(1/4)}, {px -> -t vx + I (1 - py^4 - 4 py^3 t vy - 6 py^2 t^2 vy^2 - 4 py t^3 vy^3 - t^4 vy^4)^( 1/4)}, {px -> -t vx + (1 - py^4 - 4 py^3 t vy - 6 py^2 t^2 vy^2 - 4 py t^3 vy^3 - t^4 vy^4)^(1/4)}}