A right triangle has side length 9,40, and 41 as shown below.

[tex] \sin\theta=\dfrac{opposite}{hypotenuse}\\\\\cos\theta=\dfrac{adjacent}{hypotenuse}\\\\\tan\theta=\dfrac{opposite}{adjacent}\\\\\text{We have}\\\\opposite=40\\adjacent=9\\hypotenuse=41\\\\\text{substitute}\\\\\tan M=\dfrac{40}{9}\\\\\sin M=\dfrac{40}{41}\\\\\cos M=\dfrac{9}{41} [/tex]