HallsofIvy said:
I don't know how you could have gotten that. With c= 90, a= 45, b= 60,
c^2= a^2+ b^2- 2abcos(\theta) becomes
90^2= 45^2+ 60^2- 2(45)(60)cos(\theta)
cos(\theta)= (90^2- 45^2-60^2)/(2(45)(60))= .4533333
and that gives \theta= 62.7 degrees.
ArcCos((90^2-45^2-60^2)/(
-2*60*45)) = 117.3 degrees, the angle at the corner of the paralellogram where the sides of length 60 and 45 meet. This, I presume, is what Mad Hatter did as it seems the most natural interpretation of your hint: "Okay, having drawn that you should see a triangle with sides of length 45, 60, and 90. And the angle you want, \theta, is the angle between the 45 and 60 length sides."
But we want the angle at the other vertex of the paralellogram, 360/2-117.3 = 62.7, the one at the vertex of a triangle made out of the 45 side, the 60 side, its third side being the
other diagonal of the parallelogram, the one with length sqrt(45^2+60^2-2*45*60*cos(62.7 degrees)) = 56.1, rather than the diagonal of length 90.
What's interesting, to me anyway, it's probably second nature to you ;-), is how you got this correct answer. You implicitly multiplied just one side side of the equation by -1 at the stage immediately before finding the angle:
\cos \theta = \frac{90^2- 45^2-60^2}{-2 \cdot 45 \cdot 60}
multiplied by -1 becomes
\cos \theta = \frac{90^2- 45^2-60^2}{2 \cdot 45 \cdot 60}
How does this work? Multiplying a negative cosine, as we have here, by -1 gives us \theta-2(\theta-90)=\theta(1-2)+180=180-\theta, in this case 180-117.3 = 62.7. (The interior angles of the rectangle sum to 360 degrees, and angles at opposite vertices are the same.)
Or we could just, recognising this, begin by writing the equation we actually mean to solve:
c^2= a^2+ b^2 + 2ab \cos \theta
which, if I've got all the signs right (fingers crossed!) equals
a^2+ b^2 - 2ab \cos (\pi - \theta)[/itex]<br />
<br />
EDIT: Sorry I switched notation at the end there; to be consistent I should have written 180 degrees instead of pi (radians).