I've got a cylinder with 9 radial segments, resulting in 9 faces, representing f.
Each face shows a number, representing n.
I can rotate this cylinder on it's X-axis to show a different face. To get this rotation I use the following formula:
[math]r = ((360/f*n) - (360/f/2)) / 180*\pi[/math]
So when e.g. f = 9 and n = 1 we get r = 0.35
Now say f = 9 and r = 1.75, how would be get the value of n?
Any help is appreciated, thanks