@warhammer11,
warhammer11 wrote:i believe the string is coiled around the cylinder kinda of like the problem on this page :http://mathforum.org/library/drmath/view/55156.html
I think the approach of rolling it out into a triangle is exactly right. We are given L, the length of the string, D, the diameter of the cylinder, and N, the number of turns, and asked to solve for P*N.
Use the Pythagorean theorem for the relationship between the sides of a right triangle and out pops the answer.