Heron's Formula - Numerical Stability

Numerical Stability

Heron's formula as given above is numerically unstable for triangles with a very small angle. A stable alternative involves arranging the lengths of the sides so that and computing

The brackets in the above formula are required in order to prevent numerical instability in the evaluation.

Read more about this topic:  Heron's Formula

Famous quotes containing the words numerical and/or stability:

    The terrible tabulation of the French statists brings every piece of whim and humor to be reducible also to exact numerical ratios. If one man in twenty thousand, or in thirty thousand, eats shoes, or marries his grandmother, then, in every twenty thousand, or thirty thousand, is found one man who eats shoes, or marries his grandmother.
    Ralph Waldo Emerson (1803–1882)

    ...I feel anxious for the fate of our monarchy, or democracy, or whatever is to take place. I soon get lost in a labyrinth of perplexities; but, whatever occurs, may justice and righteousness be the stability of our times, and order arise out of confusion. Great difficulties may be surmounted by patience and perseverance.
    Abigail Adams (1744–1818)