[[wp:Machin-like_formula|Machin-like formulas]] are useful for efficiently computing numerical approximations for <big><big><math>\pi</math></big></big>
;Task:
Verify the following Machin-like formulas are correct by calculating the value of '''tan''' (''right hand side)'' for each equation using exact arithmetic and showing they equal '''1''':
You can store the equations in any convenient data structure, but for extra credit parse them from human-readable [[Check_Machin-like_formulas/text_equations|text input]].
Note: to formally prove the formula correct, it would have to be shown that ''<math>{-3 \pi \over 4}</math> < right hand side < <math>{5 \pi \over 4}</math>'' due to ''<math>\tan()</math>'' periodicity.