3

How can I write the insructions from this link http://blog.wolframalpha.com/2011/08/25/quaternion-properties-and-interactive-rotations-with-wolframalpha/ in Mathematica to obtain the same result?

Thanks!

m_goldberg
  • 107,779
  • 16
  • 103
  • 257
danciulian
  • 217
  • 3
  • 5

1 Answers1

6

To do the calculation without recourse to Wolfram|Alpha you can do

Needs["Quaternions`"]
Quaternion[2, 1, 1, 3] ** Quaternion[2, 1, 1, 0] ** Quaternion[1, 1, 1, 1]
Quaternion[-12, 4, 14, 2]

Or you can do this

quaternions

m_goldberg
  • 107,779
  • 16
  • 103
  • 257