Hi.(adsbygoogle = window.adsbygoogle || []).push({});

I have an assignment lying around, in which I have to find numerically stable forms of some expressions. A few still elude me, so I was wondering if someone might have a suggestion.

[tex]

e^{x}-e

[/tex]

This has large rounding errors if x is close to 1

[tex]

sinh (x) - tanh (x)

[/tex]

Large errors for x close to 0

[tex]

log(x+\sqrt{x^2+1})

[/tex]

No idea...

**Physics Forums | Science Articles, Homework Help, Discussion**

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Homework Help: Numerically stable forms

**Physics Forums | Science Articles, Homework Help, Discussion**