A solid cylinder with radius R and length L has uniform charge density ro. Its base is in the x-y plane and it's axis is coincident with the z-axis (symmetrical about the z-axis)
Find the electric potential at point P outside the cylinder at a distance z from the origin (P is on the z-axis)
The Attempt at a Solution
So I compared this to finding the potential at a distance z above a uniformly charged disk. In the case of a disk, I divided the disk into concentric rings, found the potential contribution due to one ring, and then integrated over all rings with the limits 0 to R.
I tried to use a similar argument and divide the cylinder into equal sized disks with radius R stacked on top of one another (so the only difference is the distance from the point P). I then want to integrate this over all disks with the limits 0 to z. So can I just use my answer for the potential above a charged disk, and then integrate it with respect to z to cover all the distances?