MHB Applying rotation matrix to make inclined plane flat again

Maestroo
Messages
2
Reaction score
0
I want to rotate an inclined plane to achieve a flat surface.
I think I can use the Euler angles to perform this operation.

Using following data:

LBp3IlS.png


and following rotation matrix

a9675abac5967c098eb5da188a8e6960.png


I think you can make the plane flat by following rotations:
1: rotation around x-axis by 45°
2: rotation around y-axis by -45°
3: no rotation around z-axis

filling in the rotation matrix:

aM7na1B.png


new Z matrix derived from 3rd row: newZ=-X*cosd(45)*sind(-45)+Y*sind(45)+Z*cosd(45)*cosd(-45);

I expect a zero matrix, but this is not the case?
What am I doing wrong?

Thank you
 
Physics news on Phys.org
Maestroo said:
I want to rotate an inclined plane to achieve a flat surface.
I think I can use the Euler angles to perform this operation.

Using following data:

and following rotation matrix

I think you can make the plane flat by following rotations:
1: rotation around x-axis by 45°
2: rotation around y-axis by -45°
3: no rotation around z-axis

Hi Maestroo! Welcome to MHB! ;)

I'm afraid those are not the correct angles.
From those matrices with points, we can find vectors in the plane, and from those we can find a normal vector to the plane.
The normal vector is $(1,1,1)$.
Did you find that as well?

So we want to find a rotation that rotates $(1,1,1)$ to the z-axis.
Preserving the length, that means rotating it to $(0,0,\sqrt 3)$.
Your approach works, but we'll need to find the proper angles.
First we would rotate $(1,1,1)$ around the x-axis to some $(x,0,z)$.
And then we would rotate $(x,0,z)$ around the y-axis to $(0,0,\sqrt 3)$.
However, those angles are not $45^\circ$.
We might use the dot product to figure out the correct angles, while preserving lengths and angles. (Thinking)

For the record, we can also follow a different approach that doesn't use Euler angles.
 
Ok thank you alread

I found out that the shown rotation matrix is for fixed XYZ axes (not relative), I will update later which rotation matrix I'm now using.

I found out the correct 2nd angle by drawing:
rotations - GeoGebra

Now I will search for the way to find this angle.
 

Attachments

  • 2851c9dc2031127e6dacfb84b96446d8.png
    2851c9dc2031127e6dacfb84b96446d8.png
    2.3 KB · Views: 94
Last edited:
Thread 'Determine whether ##125## is a unit in ##\mathbb{Z_471}##'
This is the question, I understand the concept, in ##\mathbb{Z_n}## an element is a is a unit if and only if gcd( a,n) =1. My understanding of backwards substitution, ... i have using Euclidean algorithm, ##471 = 3⋅121 + 108## ##121 = 1⋅108 + 13## ##108 =8⋅13+4## ##13=3⋅4+1## ##4=4⋅1+0## using back-substitution, ##1=13-3⋅4## ##=(121-1⋅108)-3(108-8⋅13)## ... ##= 121-(471-3⋅121)-3⋅471+9⋅121+24⋅121-24(471-3⋅121## ##=121-471+3⋅121-3⋅471+9⋅121+24⋅121-24⋅471+72⋅121##...

Similar threads

Back
Top