acosintermediate// Inverse cosine β result in radians
Math.acos(1) // β 0
Math.acos(0) // β 1.5707... (Ο/2)Use Math.acos() to find the angle (in radians) whose cosine equals a given value.
Math.acos(0.5) returns approximately 1.0472 radians (60Β°).
Challenge: Compute and verify Math.acos(0.5).