You've got a few things going on here.
pi is in radians
Pi is a constant ratio; it has no unit. It merely describes the ratio of a circles circumference to its diameter. I will take this phrase to mean you are doing your calculations in radians. If this is the case, why are you calling a method entitled "RadiansToDegrees"? Also, you are calling this on the arc length. Remember, in your given information, l represents arc length, not an angle measure.
I take it you are programming this on a computer? If so, then the line:
angle = atan2(py-cy, px-cx);
is useless, considering the next line changes your variable "angle".
From @rVitale's comment:
to make sure I understand, are you trying to find the coordinates of a set of points which divide the circle into n arcs of equal length?
If this is true, then you have too many constants, since you are unsure that the given arc length l will produce n equal parts, given n (unless it is stated). For the remainder of my answer, I will assume you meant what @rVitale did.
Given that you must find n equal arcs in a circle of given radius, the arc length ("s") will be:
$$
s = \frac{2\pi{r}}{n}
$$
The angle will be:
$$
\theta = \frac{s}{r}
$$
Then just iterate through your loop, adding angles as necessary. The finished code would look something like this:
s = (2*pi*r)/n;
angle = s/r;
currentAngle = 0; //because it's a circle, it doesnt matter where you start because you can just rotate it
for(n times) {
px = cx+r*cosine(currentAngle);
py = cy+r*sine(currentAngle);
draw(px, py);
currentAngle = currentAngle + angle;
}