Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

QUESTION 4a: (8 pts) Use python code to construct the following three 33 transformation matrices: - Ry : Rotate points about the y-axis by an

image text in transcribed

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

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Database Concepts

Authors: David Kroenke, David Auer, Scott Vandenberg, Robert Yoder

9th Edition

0135188148, 978-0135188149, 9781642087611

More Books

Students also viewed these Databases questions