where the upper limit of integration is given by
or equivalently,
The field due to the rod, therefore, is
directed along OP.
Back