jens@localhost:~> ./integral.py 8
n = 1 | dx = 8.0 | 32.0 FE
n = 2 | dx = 4.0 | -32.0 FE
n = 3 | dx = 2.6666666666666665 | -62.8148148148148 FE
n = 4 | dx = 2.0 | -80.0 FE
n = 5 | dx = 1.6 | -90.88000000000002 FE
n = 6 | dx = 1.3333333333333333 | -98.37037037037035 FE
n = 7 | dx = 1.1428571428571428 | -103.83673469387753 FE
n = 8 | dx = 1.0 | -108.0 FE
jens@localhost:~>
karatekhd / integral-demo Goto Github PK
View Code? Open in Web Editor NEWLicense: GNU General Public License v3.0