section 3.9 exercises
Page 44. Exercise 5 and 6
To rotate a vector (x, y)T anticlockwise by θ radians, you premultiply it by the matrix.
Write a program in R that does this for you.
Exercise 6 continues in page 45.