- #1
Kalimaa23
- 279
- 0
Hi.
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...
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...
Last edited: