Question: YOU NEED TO USE PYTHON QUESTION 4a: (8 pts) Use python code to construct the following three 33 transformation matrices: - Ry : Rotate points
YOU NEED TO USE PYTHON
QUESTION 4a: (8 pts) Use python code to construct the following three 33 transformation matrices: - Ry : Rotate points about the y-axis by an angle of degreey =45 - Rz : Rotate points about the z-axis by an angle of degreez =120 - SH : Shear points in the x-direction by an amount that is sh=2.0 times the y-component, i.e., xnew=xold+2.0yold - SK: Scale the x-component of points by a factor of sk=1/2 Note that by default the direction of rotation about the x,y, or z axis follows the "right hand rule". Point your right thumb in the positive direction along the axis of rotation, and the fingers on your right hand will curl in the direction of rotation. \# Finish the code in this cell. degreey =45 Ry =0 degreez =120 Rz=0 sh=1.0 SH=0 5k=1/2 SK=0
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
