MathGroup Archive 2003

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

Search the Archive

Re: bug???

  • To: mathgroup at smc.vnet.net
  • Subject: [mg45281] Re: bug???
  • From: "Matthew Senn" <msenn77 at yahoo.com>
  • Date: Sat, 27 Dec 2003 05:00:19 -0500 (EST)
  • References: <bs3nhd$io4$1@smc.vnet.net> <bs957v$c6m$1@smc.vnet.net>
  • Reply-to: "Matthew Senn" <msenn77 at yahoo.com>
  • Sender: owner-wri-mathgroup at wolfram.com

i got even faster times in mathematica 4.2 on my Celeron 1.8GHz with 512mb
ram:

1st polynomial:  0.05 sec
2nd polynomial:  0.36 sec
3rd polynomial:  0.02 sec





"George" <gtsavdar at auth.gr> wrote in message
news:bs957v$c6m$1 at smc.vnet.net...
> "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: Compile
  • Next by Date: Re: Bug in Integrate? (v. 5.0)
  • Previous by thread: Re: bug???
  • Next by thread: Derivative or D ?