Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; plgContentJComments has a deprecated constructor in /var/www/astarmathsandphysics/plugins/content/jcomments/jcomments.php on line 25 Call Stack: 0.0001 361992 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.0618 1210640 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.0618 1210640 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.1445 4103648 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.1460 4131200 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.1470 4148912 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.1470 4165920 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.1479 4173656 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.1479 4173656 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.1949 4413368 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.1969 4430768 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.1976 4451696 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.2094 4523680 13. Joomla\CMS\Plugin\PluginHelper::importPlugin() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:189 0.2094 4523936 14. Joomla\CMS\Plugin\PluginHelper::import() /var/www/astarmathsandphysics/libraries/src/Plugin/PluginHelper.php:182

Proof of Simpson's Rule

Simpson's Rule is used to numerically estimate the value of integrals that either cannot be or are difficult to evaluate analytically. The rule approximates a function with a collection of arcs from quadratic functions and integrate across each of these.

Proof: Let P be a partition of [ a , b ] into n subintervals of equal width,tex2html-wrap-inline2119, wheretex2html-wrap-inline2121 fortex2html-wrap-inline2123. Here we require thatbe even. Over each intervaltex2html-wrap-inline2419, fortex2html-wrap-inline2421, we approximate f ( x ) with a quadratic curve that interpolates the pointstex2html-wrap-inline2425, tex2html-wrap-inline2137, andtex2html-wrap-inline2139.

Figure 4:

Approximating the graph of y = f(x) with parabolic arcs across successive pairs of intervals to obtain Simpson's Rule.

Since only one quadratic function can interpolate any three (non-colinear) points, we see that the approximating function must be unique for each intervaltex2html-wrap-inline2419. Note that the following quadratic function interpolates the three pointstex2html-wrap-inline2425, tex2html-wrap-inline2137, andtex2html-wrap-inline2139:

eqnarray298

Since this function is unique, this must be the quadratic function with which we approximate f ( x ) ontex2html-wrap-inline2419. Also, if the three interpolating points all lie on the same line, then this function reduces to a linear function. Therefore, sincetex2html-wrap-inline2155 for each i ,

eqnarray316

By evaluating the integral on the right, we obtain

displaymath2449

Summing the definite integrals over each intervaltex2html-wrap-inline2419, fortex2html-wrap-inline2421, provides the approximation

eqnarray337

By simplifying this sum we obtain the approximation.

Add comment

Security code
Refresh