ピタゴラス加算
\(c = \sqrt{a^2 + b^2}\) を面倒に計算する代わりに、<i>α-最大+β-最小</i>アルゴリズムを使って \(\hat{c} = \mathrm{max}\left(a, 0.9a + 0.5b \right)\) と推定すれば、実際の \(c\) に非常に近い値を暗算で求められる。これは分散の寄与を合計したり、半径を求めたりする際に便利な手法である。
\(c = \sqrt{a^2 + b^2}\) を面倒に計算する代わりに、<i>α-最大+β-最小</i>アルゴリズムを使って \(\hat{c} = \mathrm{max}\left(a, 0.9a + 0.5b \right)\) と推定すれば、実際の \(c\) に非常に近い値を暗算で求められる。これは分散の寄与を合計したり、半径を求めたりする際に便利な手法である。
A user proposes a geometric construction for angle triplication and asks if it could serve as a proof of Morley's theorem. The discussion examines the validity and rigor of the proposed construction as a proof.
Pythagorean addition combines magnitudes using √(a² + b²) rather than standard addition. It applies to orthogonal vectors in geometry and physics, and to combining standard deviations in statistics. The operation is commutative and always yields a result at least as large as the larger operand.
The article explains a mental math technique for approximating Pythagorean addition (calculating the hypotenuse of a right triangle) without a calculator. It breaks down the method of using a simple formula to estimate the square root of the sum of two squared numbers quickly in your head.
The article explains the Myers diff algorithm, which finds the shortest edit script between two sequences by modeling edits as a graph search problem. It details how the algorithm uses a greedy approach to trace paths through an edit graph, balancing deletions and insertions to produce optimal diffs.