Skip to content
This repository has been archived by the owner on Jan 30, 2023. It is now read-only.

Commit

Permalink
one more abs tol in the book
Browse files Browse the repository at this point in the history
  • Loading branch information
fchapoton committed Feb 9, 2019
1 parent 05a659d commit ae36049
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
sage: [N(QuadNC(lambda x: x * log(1+x), 0, 1, n) - 1/4) # abs tol 3e-16
....: for n in [2, 8, 16]]
[0.0965735902799726, 1.17408932933522e-7, 2.13449050101566e-13]
sage: [N(QuadNC(lambda x: sqrt(1-x^2), 0, 1, n) - pi/4)
sage: [N(QuadNC(lambda x: sqrt(1-x^2), 0, 1, n) - pi/4) # abs tol 1e-13
....: for n in [2, 8, 16]]
[-0.285398163397448, -0.00524656673640445, -0.00125482109302663]
Expand Down

0 comments on commit ae36049

Please sign in to comment.