Example of Forward and Inverse Dynamics