The number of values of where the function attains its maximum is
The explanation for the correct answer.
has maximum value when where
has maximum value when where
Thus has maximum value when both and are
This is only possible when
has period and period .
There exists no other value of for which the same value can be attained.
Hence, option B is the correct answer.