I am trying to determine the total number of primary maxima that can be observed when light of wavelength 500 nm is incident normally on a diffraction grating, with the third-order maximum of the diffraction pattern observed at 32.0 degrees.
Rearranging the diffraction grating formula for maxima number ( $m$ ):
$$ m= \frac{d \space \sin \space\theta_\text{bright}}{\lambda} \, . $$
I can get the right answer if I let $$\theta = 90 ^\circ \, .$$ However, I do not understand why this angle value is used.