Calculate the electric field due to a uniformly charged rod of length L, aligned with the x-axis with one end at the origin; at a point P on the z-axis.
Credit: University Physics Volume 2 by OpenStax, openstax.org, licensed under CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Exercises adapted: converted to Kosoma's format, maths re-typeset, some exercises split into parts. Source commit db44eb99e9aa1d918fd8cf182f82ccdece9c7b11.