Given two points in radians calculate the distance between them
Answers
Answered by
1
Given are two points P(cosA, sinA) , Q(cosB, sinB) on the unit circle. A and B are given in radians.
PQ^2 = (cosA - cosB)^2 + (sinB - sinA)^2
= 2 - 2 Cos(A-B)
= 4 sin^2 (A-B)/2
PQ = 2 * | Sin (A-B)/2 |
PQ^2 = (cosA - cosB)^2 + (sinB - sinA)^2
= 2 - 2 Cos(A-B)
= 4 sin^2 (A-B)/2
PQ = 2 * | Sin (A-B)/2 |
kvnmurty:
Click on the red hearts thanks above
Similar questions