How can I calculate the cross product of two vectors without the use of programming libraries?
E.g given vectors a = (1, 2, 3) and b = (4, 5, 6)
a = (1, 2, 3)
b = (4, 5, 6)
import numpy as np a = np.array([1,0,0]) b = np.array([0,1,0]) #print the result print(np.cross(a,b))