Back to Math Script page

 

 

Calculate the length of b's projection on a (ba) xyz

Calculate the length and coordinates of vector b's projection on vector a (ba)

The script 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 :

Enter Z1 :

Vector b's coordinates:

Enter X2 :

Enter Y2 :

Enter Z2 :



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 =

eaz =

The coordinates of b's projection on a (ba's coordinates):
bax = (ba*eax)

bay = (ba*eay)

baz = (ba*eaz)

© 2013 | kimstorgaard.com