Code covered by the BSD License
14 Dec 2009
This picture shows a glass rod/cantilever.
Watch this File
The objective is to track the transverse motion (towards right or left) of the glass rod. Since the glass rod moves as a whole, it could be the tip or for that matter any point on the rod.