Python 3.7.9 (default, Aug 31 2020, 17:10:11) [MSC v.1916 64 bit (AMD64)]

Type "copyright", "credits" or "license" for more information.


IPython 7.18.1 -- An enhanced Interactive Python.


Restarting kernel...




In [1]: runfile('G:/UBCO/2020-2021/Python/20201002/f_avg.py', wdir='G:/UBCO/2020-2021/Python/20201002')

0.7385190162528529

-65536*x**9/243 + 32768*x**8/27 - 409600*x**7/189 + 155648*x**6/81 - 114688*x**5/135 + 4096*x**4/27

4096/8505

The exact integral of f(x) on 0 < x < 1 is 0.481599059376837

The Hit & Miss estimate of the integral of f(x) on 0 < x < 1 is 0.4854794337511313

The Hit & Miss estimate of the integral of f(x) on 0 < x < 1 is 0.47505781699697197

2020-10-02 19:17:51.190375

0%

10%

20%

30%

40%

50%

60%

70%

80%

90%

2020-10-02 19:18:53.584841

2020-10-02 19:18:53.631797

1 of 10

2 of 10

3 of 10

4 of 10

5 of 10

6 of 10

7 of 10

8 of 10

9 of 10

10 of 10

2020-10-02 19:38:32.938438








In [2]: