Question: PYTHON: Write a function named angle_between that takes two arguments, assumed to be vectors represented as 3-tuples, and returns the angle between them (in radians).
PYTHON:
Write a function named angle_between that takes two arguments, assumed to be vectors represented as 3-tuples, and returns the angle between them (in radians).
Hint: The easy way to do this is to calculate the dot product of the two vectors using your dot function, and then take advantage of the alternate dot product expression
to solve for the angle 
this is my dot function:
def dot(v1,v2): return v1[0] * v2[0] + v1[1] * v2[1] + v1[2] * v2[2]
Transcribed image text
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
