Answered step by step
Verified Expert Solution
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
(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
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started