Pythagorean theorem
For a right triangle with legs a, b and hypotenuse c, a^2 + b^2 = c^2. Also the base for Euclidean distance d = sqrt((x2 - x1)^2 + (y2 - y1)^2).
- Pythagorean theorem — Wolfram MathWorld
Every math and science calculator is built from a published formula, validated with worked examples, and checked against authoritative references. This page lists those formulas, conventions, pitfalls, and vocabulary.
For a right triangle with legs a, b and hypotenuse c, a^2 + b^2 = c^2. Also the base for Euclidean distance d = sqrt((x2 - x1)^2 + (y2 - y1)^2).
s = sqrt( sum((x_i - xbar)^2) / (n - 1) ). The (n - 1) denominator gives an unbiased estimator of population variance. The population form uses N and only applies when the full population is observed.
n! = 1 * 2 * ... * n with 0! = 1. P(n, r) = n! / (n - r)! counts ordered selections; C(n, r) = n! / (r! (n - r)!) counts unordered ones.
For positive b != 1, log_b(x) = ln(x) / ln(b). Lets us expose arbitrary-base logs via the runtime's natural log.
sin^2(t) + cos^2(t) = 1 and the angle-sum identities sin(a +/- b) = sin a cos b +/- cos a sin b, cos(a +/- b) = cos a cos b -/+ sin a sin b.
The seven SI base units are defined by fixing the values of seven constants (Delta nu_Cs, c, h, e, k, N_A, K_cd). Conversions use exact factors from the SI Brochure.
Each calculator implements one named formula, validated against worked examples from the cited reference. The same examples run as automated tests so refactors cannot silently change a result. When a source updates (a new SI Brochure or DLMF revision), we re-run affected tests and bump the lastReviewed date.