Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

(5.75,5.75,3.0,6.0) QUESTION 2b: (4 pts) Now, we can rotate the square (the blue square) around the origin by 45 degrees clockwise (the orange square). Construct

image text in transcribed

image text in transcribed

image text in transcribed

(5.75,5.75,3.0,6.0) QUESTION 2b: (4 pts) Now, we can rotate the square (the blue square) around the origin by 45 degrees clockwise (the orange square). Construct a rotation matrix that performs a rotation by 45 degrees clockwise and store it in Python variable R as 33 matrix. To help you visualize the transformation consider the figure below. \# original points x=[1.5,1.5,1.5,1.5,1.5] y=[1.5,1.5,1.5,1.5,1.5] # transformed points s=3p.sqrt(2) xp=[s,0,s,0,s] yp=[0,s,0,s,0] \#plot plt.plot (x,y,"_,", color='\#1f77b4' ) plt.plot (xp,yp,"", color='\#ff7f0e ) plt.axis ([5.75,5.75,3,6]) \#\#Edit this cell to answer the question. R=0 print(R) (5.75,5.75,3.0,6.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

Hands-On Database

Authors: Steve Conger

2nd Edition

0133024415, 978-0133024418

More Books

Students also viewed these Databases questions