Angle between vectors [1, 0] and [1, 1]?
Angle between vectors [1, 0] and [1, 1]?
Approach: cos(theta) = (a.b) / (|a||b|).
45 degrees. cos(theta) = 1 / sqrt(2).
Follow-up: What is the angle in radians?
Key concepts: vector angle.
Angle between vectors [1, 0] and [1, 1]?
Approach: cos(theta) = (a.b) / (|a||b|).
45 degrees. cos(theta) = 1 / sqrt(2).
Follow-up: What is the angle in radians?
Key concepts: vector angle.