Multiple choice general knowledge

To calculate the value of sine of 90 degrees, the correct Matlab expression is

  1. sin(Pi/2)

  2. sin(90)

  3. Sin(pi/2)

  4. sin(pi/2)

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

MATLAB trigonometric functions use radians, not degrees. sin(90°) requires converting 90° to radians: 90° = pi/2 radians. Option B (sin(90)) is wrong because 90 is treated as 90 radians. Option C has wrong case (Sin vs sin). Option A has wrong case for pi (Pi vs pi).