If tan theta= 3 and Pi<theta<3Pi/2,

find cos theta.

Pi=3.141592654

1^2+3^2 = 1+9 = 10

so hypotenuse = sqrt(10)
cos theta = 1/sqrt(10)
or -1/sqrt(10) in third quadrant