18: Critical points:

It is in M, so candidates to be checked on are 0, the critical point above (we will call it a0), and π/2. By the way, for the curious, the critical angle is roughly 42 degrees.

What is the minimum?

A note for the curious. Using some trig identities one can find that

hence

Answer