4.5 sin and cos translations