MathGroup Archive 2008

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

Search the Archive

Re: N::meprec warning with Solve

  • To: mathgroup at smc.vnet.net
  • Subject: [mg86760] Re: N::meprec warning with Solve
  • From: Peter Breitfeld <phbrf at t-online.de>
  • Date: Thu, 20 Mar 2008 02:55:26 -0500 (EST)
  • References: <frqpjj$4q7$1@smc.vnet.net>

Peter Breitfeld schrieb:
> consider the function:
>
> f[x_] := (x^4 + x^3 + x^2 + 5)/(5 x^2 + 5 x + 5)
>
> lsg=Solve[f[x]==0,x]
>
> gives the warnings:
>
> N::meprec:
> "Internal precision limit $MaxExtraPrecision = 50.` reached while
> evaluating Im[61/(3\(<<1>> <<1>>)^(1/3))+1/3\ (1/2\(<<1>>))^(1/3)]."
>
> How can this happen if no Reals are used? Why is N called?
>
> BTW the results of Solve are correct
>

I found the reason myself. I had loaded, but not activated, the
packacke SwitchableRealOnly` written by Ted Ersek. It does some
changes to built-in functions, including Solve which only should
take place, if the package ist not activated.

running the code above without this package gave no warnings.

Sorry for the post.

Gruss Peter
-- 
==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==-==
Peter Breitfeld, Bad Saulgau, Germany -- http://www.pBreitfeld.de


  • Prev by Date: Re: Mathematica hangs...
  • Next by Date: Re: Find roots in a limited interval
  • Previous by thread: Re: N::meprec warning with Solve
  • Next by thread: Creating a function that is a derivative of another function??