Exercise · Volume 1 · 1.2.7-5
Exercise 1.2.7-5
proved in Lean solution written
| Rating | 15 |
|---|---|
| Kind | K3, find a value: compute a number, a set or a closed form from the written solution |
| Section | Section 1.2.7 of Volume 1. Companion chapter: Harmonic numbers |
The task
Find to 15 decimal places, using eq. (3) and the values of and .
The exact wording is in your copy of the book.
Hints
Open one hint at a time. Try the exercise again after each.
Hint 1
Use eq. (3) with . Decide how many terms of the series are large enough to matter at the 15th place.
Hint 2
Get from the tables.
Solution
Show the solution
Take in eq. (3). The terms are
The last term, and the error , are less than . They matter only if the sum lies within of a rounding boundary, so compute with digits: and . The sum of these two is . Adding gives . Subtracting gives . The next term adds less than and does not change these digits. The result is to 15 places, and the next digits are , far from a rounding boundary.
Check
An exact computation with python, summing for with digits, gives . This agrees with the value above to all the digits shown there.
Remarks
The rounded value is . The terms of eq. (3) beyond give the last digits only, so they are needed only for more than places.
This solution is checked, and a person has not reviewed it yet. The source.
In Lean
proved The statement and its proof are in Lean. The kernel accepts the proof, and it uses the standard axioms only.
- Problem:
TAOCP.S1_2_7.Ex5.statementaxioms: Classical.choice, Quot.sound, propext - Solution:
TAOCP.S1_2_7.Ex5.solvedaxioms: Classical.choice, Quot.sound, propext
The status is computed from the Lean build. The node of the map.
Something is wrong? Report it.