Defence PYQWritten Exam 2023MathematicsFunctions (Greatest Integer Function)

NDA · Question 77

Let f(x) = sin[π²]x + cos[-π²]x, where [·] is the greatest integer function. What is f(π/2) equal to?

  1. -1

  2. 0

  3. 1

  4. 2

Show answer & explanationShow explanation

Answer: (B) 0

Explanation

Since π² ≈ 9.8696, we have [π²] = 9 and [-π²] = [-9.8696] = -10. Thus f(x) = sin(9x) + cos(-10x) = sin(9x) + cos(10x). Evaluating at x = π/2: f(π/2) = sin (9π/2) + cos(5π) = sin (4π + π/2) + (-1) = 1 - 1 = 0.