Question: The matrix R describes a rotation by some angle omega around some axis. Assume omega ! = 0 . Write a Python function

The matrix
R
describes a rotation by some angle
\omega
around some axis. Assume
\omega
!=
0
. Write a Python function axis(alpha, beta, gamma) that computes one of the two unit vectors
\pm
a
along the axis of the rotation. Think numerically and do not use weird formulas you need to look up.
Show your code and print the unit axis for the following four combinations of angles:

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!