Back to Math Script page
The length and coordinates of vector b's projection on vector a (ba)
The script below will calculate the length and coordinates of vector b's projection on vector a, and the angel between them
Vector a's coordinates:
Enter X1 :
Enter Y1 :
Vector b's coordinates:
Enter X2 :
Enter Y2 : The length of vector a is: The length of vector b is: The angel between vector a and vector b is: The length of b's projection (ba) on vector a is: The unit vector (ea's) coordinates: eax eay The coordinates of b's projection on a (ba's coordinates): bax (ba*eax) bay (ba*eay)