As shown below, a circular drum with a string wrapped around it is pulled in x-direction. as a result:
1. The drum rotates.
2. Point of drum-string separation (originally as 0 degrees) moves up along the drum surface.
The program is to accept the following four variables:
r, h, x inch/sec rate, and max X can be pulled.
At start, the string is pulled from X=0 to X=X=max Upon click on start button. In the process of pull, the angle of drum rotation a will be displayed in degrees.
In order see the drum is rotating, we can rotate a redial line drawn from center of the drum to zero angle.
To facilitate the operation, you may populate a table where variable b is incremented and substituded in two formulas given to get two equation and two unknowns in turn solving them to get their related a and x values. I will try to supply the data in a tabular form as well.
The program could be in java or java script (HTML5).