Permalink
Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
31 lines (21 sloc) 632 Bytes
module Y2018.M11.D22.Exercise where
{--
Happy Thanksgiving from the U.S.A.!
From @fermatslibrary:
url: https://twitter.com/fermatslibrary/status/1064519419303550976
A visual proof that
1/4 + 1/4² + 1/4³ + ... = 1/3
⚪⚪⚪⚪⚪⚪⚪⚪
⚪⚫⚪⚪⚪⚪⚪⚪
⚪⚪⚫⚫⚪⚪⚪⚪
⚪⚪⚫⚫⚪⚪⚪⚪
⚪⚪⚪⚪⚫⚫⚫⚫
⚪⚪⚪⚪⚫⚫⚫⚫
⚪⚪⚪⚪⚫⚫⚫⚫
⚪⚪⚪⚪⚫⚫⚫⚫
Prove this.
How many terms of fourths to be within 0.1 of 1/3? 0.01? 0.001?
--}
fourthThird :: Int -> Double
fourthThird nterms = undefined
-- fourthThird gives the difference of the sum of fourths vs 1/3.