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 362552 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.0779 1211976 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.0779 1211976 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.1491 4193080 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.1506 4220776 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.1513 4238488 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.1515 4269008 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.1526 4291728 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.1526 4291728 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.2112 4969352 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.2148 5161504 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.2153 5182432 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.2262 5379568 13. Joomla\CMS\Plugin\PluginHelper::importPlugin() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:189 0.2262 5379824 14. Joomla\CMS\Plugin\PluginHelper::import() /var/www/astarmathsandphysics/libraries/src/Plugin/PluginHelper.php:182

The Composite Trapezium Rule

The approximationsand are not very accurate on large intervals (error varying asandrespectively but more accurate approximations can be obtained by breaking the intervalintosubintervals of equal width

Composite Trapezium Rule

Split the intervalintointervals of widthi.e. considerequispaced

pointsThe subintervalis

But sinceand f'' is continuous, there existswithso the error is of the formsince

We can write the composite trapezium rule as

The error is of ordercompared tofor each subinterval.