MathGroup Archive 2003

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: bug???

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45241] Re: bug???
  • From: gtsavdar at auth.gr (George)
  • Date: Tue, 23 Dec 2003 05:13:33 -0500 (EST)
  • References: <bs3nhd$io4$1@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

"ANDY" <wangzhengyao at hotmail.com> wrote in message news:<bs3nhd$io4$1 at smc.vnet.net>...
> hello,
> 
> please running the next Expression:
> 
> Timing[NSolve[x^802 + 4x^403 + 2x^2 - 3 == 0, x, 4]]
> 
> in Mathematica4.1 and Mathematica 5.
> 
> Why???

I've tried to run :
Timing[NSolve[x^802 + 4x^403 + 2x^2 - 3 == 0, x, 4]]
but after 5 minutes no result found so i stopped it.
What are your times on Mathematica 5.0 and 4.1?

Then i run these:
------------------------------------------------------
Mathematica 5.0
Timing[NSolve[x^80 + 4x^40 + 2x^2 - 3 == 0, x, 4]]
Time= 0.83 s

Timing[NSolve[x^180 + 4x^40 + 2x^2 - 3 == 0, x, 4]]
Time= 13.67 s

Timing[NSolve[x^50 + 4x^50 + 2x^2 - 3 == 0, x, 4]]
Time= 0.22 s
------------------------------------------------------
Mathematica 4.2
Timing[NSolve[x^80 + 4x^40 + 2x^2 - 3 == 0, x, 4]]
Time= 0.11 s

Timing[NSolve[x^180 + 4x^40 + 2x^2 - 3 == 0, x, 4]]
Time= 0.49 s

Timing[NSolve[x^50 + 4x^50 + 2x^2 - 3 == 0, x, 4]]
Time= 0.05 s
------------------------------------------------------

First case : Mathematica 5.0 is 7.5  times slower than Mathematica 4.2.
Second case: Mathematica 5.0 is 27.9 times slower than Mathematica 4.2.
Third case : Mathematica 5.0 is 4.4  times slower than Mathematica 4.2.

So Mathematica 5.0 seems to be slower from Mathematica 4.2 in this
kind of operations. 
All these from a PIV-1800 MHz of my university computers.


  • Prev by Date: Re: Book Recommendations
  • Next by Date: Re: Transpose matrix does not work when MatrixForm is used, why?
  • Previous by thread: Re: bug???
  • Next by thread: Re: bug???