Computer Animation and simulation Homework 3