The set of interactive pages with the following structure:
Example of Computations $\mathbb{\implies}$ Your Experiments $\mathbb{\implies}$ Python Modules $\mathbb{\implies}$ Other Languages
Click the $\mathbb{activate}$ button below to display an interactive example.
@interact
def _(x=(1,5,1),y=(1,5,1),z=(1,5,1)):
ov=(0,0,0); av=vector(SR,[x,y,z])
bv=vector(SR,[x,y,-z]); cv=av.cross_product(bv)
a=arrow3d(ov,av,color='#ff3636',width=(x+y+z)/1.5)+text3d('a',av*1.1)
b=arrow3d(ov,bv,color='#3636ff',width=(x+y+z)/1.5)+text3d('b',bv*1.1)
c=arrow3d(ov,cv,color='#ff36ff',width=(x+y+z)/1.5)+text3d('axb',cv*1.1)
pretty_print('a={x,y,z}; b={x,y,-z}')
(a+b+c).show()
Type your own SageMath code lines below and click the $\mathbb{evaluate}$ button.
This code cell was evaluated automatically.