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 361040 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.2970 1209752 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.2970 1209752 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.3710 4097024 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.3723 4124480 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.3730 4142192 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.3730 4159200 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.3737 4166936 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.3737 4166936 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.4304 4827952 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.4326 4913184 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.4332 4934112 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.4433 5049064 13. Joomla\CMS\Plugin\PluginHelper::importPlugin() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:189 0.4433 5049320 14. Joomla\CMS\Plugin\PluginHelper::import() /var/www/astarmathsandphysics/libraries/src/Plugin/PluginHelper.php:182 Deprecated: Methods with the same name as their class will not be constructors in a future version of PHP; JCommentsACL has a deprecated constructor in /var/www/astarmathsandphysics/components/com_jcomments/classes/acl.php on line 17 Call Stack: 0.0001 361040 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.2970 1209752 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.2970 1209752 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.3710 4097024 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.3723 4124480 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.3730 4142192 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.3730 4159200 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.3737 4166936 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.3737 4166936 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.4304 4827952 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.4326 4913184 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.4332 4934112 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.7250 12909960 13. JEventDispatcher->trigger() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:199 0.7253 12910360 14. plgContentJComments->update() /var/www/astarmathsandphysics/libraries/joomla/event/dispatcher.php:160 0.7253 12910360 15. plgContentJComments->onContentAfterDisplay() /var/www/astarmathsandphysics/libraries/joomla/event/event.php:70 0.7255 12918608 16. plgContentJComments->onAfterDisplayContent() /var/www/astarmathsandphysics/plugins/content/jcomments/jcomments.php:339 0.7299 13298880 17. JComments::show() /var/www/astarmathsandphysics/plugins/content/jcomments/jcomments.php:282 0.7305 13331928 18. JCommentsFactory::getACL() /var/www/astarmathsandphysics/components/com_jcomments/jcomments.php:188 0.7305 13331952 19. spl_autoload_call() /var/www/astarmathsandphysics/components/com_jcomments/classes/factory.php:274 0.7306 13332032 20. JLoader::load() /var/www/astarmathsandphysics/components/com_jcomments/classes/factory.php:274

Finding the Rule or nth Terms of Quadratic Sequences

An example of a quadratic sequence is: 2, 4, 8, 14, 22

When we find the difference line we obtain

2 4 8 14 22
2 4 6 8

The difference line is not constant so it cannot be an arithmetic sequence. However we can construct a second difference line – the difference between the differences:

2 4 8 14 22
2 4 6 8
2 2 2

Now we have a list of constants. If the first difference line is not constant but the second difference line is, the sequence is a quadratic sequence

We start by find the first coefficient, ofThis is equal to the second difference line divided by 2:

We now know the sequence isWe Form anline (1 4 9 16 25) and find the difference between the original sequence and the terms of this line. This will give us another sequence: an arithmetic sequence.

2 4 8 14 22
1 4 9 16 25

The difference is

1 0 -1 -2 -3

The common difference is -1:

-1 -1 -1 -1

Because the common difference is -1 we know this sequence is asequence. We construct a -1 times table and compare it with the arithmetic sequence (1):

-1 -2 -3 -4 -5
1 0 -1 -2 -3

To get the sequence (1) from the -1 times table we have to add 2 so the arithmetic sequence isWe add this to theto get the n th term or rule for the quadratic sequence:

Example: Find the rule for the sequence: 5, 9, 17, 29, 45

Construct a first and second difference lines:

6 9 17 29 45
4 8 12 16
4 4 4

The second difference line is 4 so we know it is a 4 oversequence. Form aline and find the difference between this and the original quadratic sequence.

5 9 17 29 45
2 8 18 32 50

the difference is

3 1 -1 -3 -5

This is an arithmetic or simple sequence. The common difference for this line is -2 so we have a sequence. Form a -2 times table and find the difference between it and the arithmetic sequence.

-2 -4 -6 -8 -10
3 1 -1 -3 -5

The difference is 5 so the arithmetic sequence isAdd this to theto get the formula for the n th term:

Add comment

Security code
Refresh