## Dirac Delta function and charge density.

I have a line charge of length L and charge density /lambda on the Z-axis. I need to express the charge density in terms of the Dirac Delta function of theta and phi. How would I go about doing this?
 PhysOrg.com physics news on PhysOrg.com >> Study provides better understanding of water's freezing behavior at nanoscale>> Soft matter offers new ways to study how ordered materials arrange themselves>> Making quantum encryption practical
 $$\rho=\lambda\delta(1-\cos\theta)U(L-r))/(2\pi r^2)$$, where U is the unit step function, should be the charge density in spherical coordinates.