here is about half the assignment, if u can do this easily u can probably do the whole thing.
Question 2 (3.5 marks)
Plot the points A(val1, val2), B(val1, val3) and C(val2, val3) on a piece of grid paper and join
the points to form a right-angled triangle DABC . We wish to carry out the following linear
transformations on the triangle.
· A 90° clockwise rotation, about the origin
· A reflection in the line y = x .
(a) Calculate the 2´ 2 matrix for carrying out the 90° clockwise rotation and apply it to the points
A, B and C to obtain new points A', B' and C ' . Plot these points on the same piece of grid
paper to form the triangle DA'B'C '
(b) Calculate the 2´ 2 matrix for carrying out the reflection in the line y = x and apply it to the
points A', B' and C ' to obtain new points A'', B'' and C '' . Plot these points on the same piece
of grid paper to form the triangle DA''B''C ''