1.

Find angle ‘θ’ between the vectors a = i + j - k and vector b = i - j + k

Answer»

The angle θ between two vectors a  and vector b  is given by

cosθ = (vector a x vector b)/(|vector a||vector b|)

Now, vector(a.b) = (i + j - k) x (i - j + k) = 1 - 1 - 1 = - 1

Therefore, we have cosθ = -1/3 ⇒ θ = cos-1(-1/3)



Discussion

No Comment Found

Related InterviewSolutions