relative errors



Different digits of significance in calculation give different answers
to the same equation. Say, for example, if I have g(x)=x^3-5x^2+6x+2.1.
I have different answers for, say x=2.7, by using roundoff, exact, etc.
in my calculation. How do I minimize relative errors like this? I was
thinking to rewrite the function as x^3(1-5/x-6/(x^2)+2.1/(x^3)), since
x^3 dominates the answer when it's really big. But it didn't seem to
minimize relative errors. Can anyone point it out to me? Thanks.

.



Relevant Pages

  • Re: relative errors
    ... > Different digits of significance in calculation give different answers ... How do I minimize relative errors like this? ... I fail to see a problem: if your options include exact calculations then ... You don't really "expand and collect" the polynomial. ...
    (sci.math.num-analysis)
  • Re: relative errors
    ... >I have different answers for, say x=2.7, by using>roundoff, exact, etc. ... >in my calculation. ... How do I minimize relative errors>like this? ... >x^3 dominates the answer when it's really big. ...
    (sci.math.num-analysis)
  • Re: relative errors
    ... > using roundoff, exact, etc. in my calculation. ... But it didn't seem to minimize relative errors. ...
    (sci.math.num-analysis)

Quantcast