2)Write transformation matrices to achieve each of the following 3D transformations?
(i) Scale x by 3, y by 0.5 and z by 1
(ii) Undo a translation that has moved an object by 6 units up with respect to the y axis.
(iii) Reflect on the z-axis.
(1) The matrix is
3 0 0
0 0.5 0
This solution helps go through transformation matrices within the context of software development.