Given a general rotation matrix:
R = [[r11, r12, r13], [r21, r22, r23], [r31, r32, r33]]
Derive the formula for computing the 123 Euler angles and that for computing Euler parameters.
Indicate the singular conditions under which you do not have a solution.