SageMath syntax for Section 2.2

SageMath is a free open-source mathematics software system. You can use a SageMath cell online by going here.


The syntax described in section 2.1 generalizes to vectors in 3-space. Simply append a third component to your vectors.