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 360984 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.2007 1211280 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.2007 1211280 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.3258 4109984 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.3271 4137760 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.3279 4155472 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.3279 4172480 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.3287 4180216 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.3287 4180216 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.5816 4815688 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.5843 4900920 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.5848 4921848 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.5958 5086144 13. Joomla\CMS\Plugin\PluginHelper::importPlugin() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:189 0.5959 5086400 14. Joomla\CMS\Plugin\PluginHelper::import() /var/www/astarmathsandphysics/libraries/src/Plugin/PluginHelper.php:182

Using the Trapezium Rule Twice to Obtain an Improved Estimate for the Value of an Integral

The trapezium rule gives an estimate for the value of an integralaswith accuracy proportional toso that ifand the true value of the integral isthen

We can obtain an improved estimate for the value of the integral using the trapezium rule twice with different values ofSuppose that we use the trapezium rule twice with different values of obtaining

(1) and(2)

(1)-(2) gives

Substituting back into (2) (assumingso thatis a better estimate for I) gives

For a very simple example, consider

Takeandso that

In factexactly, so in this case the estimate is very accurate.

Add comment

Security code
Refresh