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 362712 1. {main}() /var/www/astarmathsandphysics/index.php:0 0.0442 1212248 2. Joomla\CMS\Application\SiteApplication->execute() /var/www/astarmathsandphysics/index.php:49 0.0442 1212248 3. Joomla\CMS\Application\SiteApplication->doExecute() /var/www/astarmathsandphysics/libraries/src/Application/CMSApplication.php:267 0.1103 4110720 4. Joomla\CMS\Application\SiteApplication->dispatch() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:233 0.1116 4138224 5. Joomla\CMS\Component\ComponentHelper::renderComponent() /var/www/astarmathsandphysics/libraries/src/Application/SiteApplication.php:194 0.1124 4155936 6. Joomla\CMS\Component\ComponentHelper::executeComponent() /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:356 0.1126 4186968 7. require_once('/var/www/astarmathsandphysics/components/com_content/content.php') /var/www/astarmathsandphysics/libraries/src/Component/ComponentHelper.php:381 0.1136 4209688 8. ContentController->execute() /var/www/astarmathsandphysics/components/com_content/content.php:42 0.1136 4209688 9. ContentController->display() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:710 0.1609 4834776 10. ContentController->display() /var/www/astarmathsandphysics/components/com_content/controller.php:113 0.1635 4935760 11. Joomla\CMS\Cache\Controller\ViewController->get() /var/www/astarmathsandphysics/libraries/src/MVC/Controller/BaseController.php:663 0.1640 4956688 12. ContentViewArticle->display() /var/www/astarmathsandphysics/libraries/src/Cache/Controller/ViewController.php:102 0.1733 5027400 13. Joomla\CMS\Plugin\PluginHelper::importPlugin() /var/www/astarmathsandphysics/components/com_content/views/article/view.html.php:189 0.1734 5027656 14. Joomla\CMS\Plugin\PluginHelper::import() /var/www/astarmathsandphysics/libraries/src/Plugin/PluginHelper.php:182

## Electric Field Due to a Long Charge Carrying Wire

We can find the electric field around a long, cuharge carring wire, carrying charge
$\beta$
per unit length.

For a surface
$S$
enclosing a charge
$q$
, Gauss's Law gives
$\int_S \mathbf{E} \cdot \mathbf{n} dS = \frac{q}{\epsilon_0}$

The cylinder drawn has three surfaces. For surfacesat the ends of the cylinder the electric field, which is radial, is perpendicular to the normal, which is along the wire, so
$\int_{S_{TOP}} \mathbf{E} \cdot \mathbf{n} dS = \int_{S_{BOTTOM}} \mathbf{E} \cdot \mathbf{n} dS =0$
and only the curved surface of the cylinder contributues to the integral.
For the curved surface
$\mathbf{E}$
is radially out by symmetry and the normal is also radially out. Hence, using cylindrical polar coordinates,
\begin{aligned} \int_S \mathbf{E} \cdot \mathbf{n} dS &= \int^L_0 \int^{2 \pi}_0 E r d \theta dz \\ &= 2 \pi r L E \end{aligned}

Hence
$2 \pi r LE = \frac{L \beta}{\epsilon_0} \rightarrow \mathbf{E} = \frac{\beta}{2 \pi r} \mathbf{e_r}$