For a finite line charge, find the electric field in a direction parallel to the axis of the line charge at point P.