A cylindrical charge has a length L and radius R. Denoting the charge density of the cylindrical charge by p, find the electric field at a distance r from the axis of the cylinder when

a)r<R and
b)r>R use Gauss'law