1. ## Trig Help... exsecant?

i was wondering if anyone could lend me a little trig help... given the radius and theta, what would the two lengths indicated by question marks be? exsecant? i'm trying to program some animation, but my trig skills are nonexistent... thanks for your help.

-wilbur

i was wondering if anyone could lend me a little trig help... given the radius and theta, what would the two lengths indicated by question marks be? exsecant? i'm trying to program some animation, but my trig skills are nonexistent... thanks for your help.

-wilbur
Let us call the given central angle as theta.
Let us call the given radius of the circle as r.
Let call the upper "?" as x, and the lower "?" as y.
Let us call the hypotenuse of the legs x and y as z.
So the whole vertical line from the center of the circle up to the bottom of y is (r+z).

In the large right triangle, whose hypotenuse is (r+z):
cos(theta) = r / (r+z)
So,
(r+z)cos(theta) = r
(r+z) = r / cos(theta) = r*sec(theta)
z = r*sec(theta) -r
z = r*[sec(theta) -1] -------**

In the smaller right triangle, whose hypotenuse is z:
Since r and y are parallel ...they are both perpendicular to the same green line...then the angle between y and z is equal to theta.
Then,

sin(theta) = x / z
So,
x = z*sin(theta)

cos(theta) = y / z
y = z*cos(theta)