acosbeginner// 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) returns Math.PI / 2 (approximately 1.5708 radians).
Challenge: Verify that Math.acos(0) equals Ο/2.