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 360848 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.0536 1209592 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.0536 1209592 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.1186 4041864 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.1199 4069336 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.1207 4087048 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.1209 4118080 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.1219 4140800 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.1219 4140800 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.1875 4764752 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.1902 4865736 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.1908 4886664 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.2007 4957152 13. Joomla\CMS\Plugin\PluginHelper::importPlugin() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:189 0.2008 4957408 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 360848 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.0536 1209592 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.0536 1209592 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.1186 4041864 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.1199 4069336 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.1207 4087048 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.1209 4118080 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.1219 4140800 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.1219 4140800 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.1875 4764752 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.1902 4865736 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.1908 4886664 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.3300 12521672 13. JEventDispatcher->trigger() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:199 0.3302 12522072 14. plgContentJComments->update() /var/www/astarmathsandphysics/libraries/joomla/event/dispatcher.php:160 0.3302 12522072 15. plgContentJComments->onContentAfterDisplay() /var/www/astarmathsandphysics/libraries/joomla/event/event.php:70 0.3304 12530320 16. plgContentJComments->onAfterDisplayContent() /var/www/astarmathsandphysics/plugins/content/jcomments/jcomments.php:339 0.3306 12532056 17. JComments::show() /var/www/astarmathsandphysics/plugins/content/jcomments/jcomments.php:282 0.3312 12565104 18. JCommentsFactory::getACL() /var/www/astarmathsandphysics/components/com_jcomments/jcomments.php:188 0.3312 12565504 19. spl_autoload_call() /var/www/astarmathsandphysics/components/com_jcomments/classes/factory.php:274 0.3313 12565584 20. JLoader::load() /var/www/astarmathsandphysics/components/com_jcomments/classes/factory.php:274

Electric Field Due to a Dipole

For the chgarges above, the potential at  
\[P\]
  is given by
\[ \phi = \frac{\mathbf{p} \cdot \mathbf{r} }{4 \pi \epsilon_0 r^2} = \frac{pz }{4 \pi \epsilon_0 r^3} \]

The electric field at  
\[P\]
  is equal to
\[\begin{equation} \begin{aligned} \mathbf{E} &= \mathbf{\nabla} \phi \\ &= \frac{\partial \phi}{\partial x} \mathbf{i} + \frac{\partial \phi}{\partial y} \mathbf{j} + \frac{\partial \phi}{\partial z} \mathbf{k} \\ &= \frac{p}{4 \pi \epsilon_0} (\frac{\partial }{\partial x} (\frac{z }{ (x^2 +y^2 +z^2)^{3/2}}) \mathbf{i} + \frac{\partial }{\partial y} (\frac{z }{ (x^2 +y^2 +z^2)^{3/2}}) \mathbf{j} + \frac{\partial }{\partial z} (\frac{z }{ (x^2 +y^2 +z^2)^{3/2}}) \mathbf{k} ) \\ &= \frac{p}{4 \pi \epsilon_0} (-\frac{3xz }{ (x^2 +y^2 +z^2)^{5/2}} \mathbf{i} - \frac{3yz }{ (x^2 +y^2 +z^2)^{5/2}} \mathbf{j} + (\frac{1}{(x^2+y^2 +z^2)^{3/2}} - \frac{3z^2 }{ (x^2 +y^2 +z^2)^{5/2}}) \mathbf{k} ) \\ &= \frac{p}{4 \pi \epsilon_0} (-\frac{3xz }{ r^5} \mathbf{i} - \frac{3yz }{ r^5} \mathbf{j} + (\frac{1}{ r^3} - \frac{3z^2 }{ r^5}) \mathbf{k} ) \end{aligned} \end{equation}\]

Add comment

Security code
Refresh