Civil Engineering lecture notebook: Theory of Machines