Open ahmsayat opened 6 years ago
Jupyter Notebooks or Interactive Python https://github.com/jupyter/jupyter/wiki/A-gallery-of-interesting-Jupyter-Notebooks
https://nbviewer.jupyter.org/github/ipython/ipython/blob/master/examples/IPython%20Kernel/Index.ipynb
Basic Numerical Integration: the Trapezoid Rule:
"A simple illustration of the trapezoid rule for definite integration:\n", "\n", "$$\n", "\int{a}^{b} f(x)\, dx \approx \frac{1}{2} \sum{k=1}^{N} \left( x{k} - x{k-1} \right) \left( f(x{k}) + f(x{k-1}) \right).\n", "$$\n", "<br>\n",
"First, we define a simple function and sample it between 0 and 10 at 200 points"
https://nbviewer.jupyter.org/github/ipython/ipython/blob/master/examples/IPython%20Kernel/Trapezoid%20Rule.ipynb
Jupyter Notebooks or Interactive Python https://github.com/jupyter/jupyter/wiki/A-gallery-of-interesting-Jupyter-Notebooks
https://nbviewer.jupyter.org/github/ipython/ipython/blob/master/examples/IPython%20Kernel/Index.ipynb
Basic Numerical Integration: the Trapezoid Rule:
"A simple illustration of the trapezoid rule for definite integration:\n", "\n", "$$\n", "\int{a}^{b} f(x)\, dx \approx \frac{1}{2} \sum{k=1}^{N} \left( x{k} - x{k-1} \right) \left( f(x{k}) + f(x{k-1}) \right).\n", "$$\n", "<br>\n",
"First, we define a simple function and sample it between 0 and 10 at 200 points"
https://nbviewer.jupyter.org/github/ipython/ipython/blob/master/examples/IPython%20Kernel/Trapezoid%20Rule.ipynb