Here are some of the basic trigonometric rules and theorems that I believe aren't really explained in Toadlife's tutorial.
In a right triangle with acute angle "theta"
Edit: Was going to put some sort of diagram, but that doesn't come out right in the forum.
the sine of "theta" = length of leg opposite "theta"
________________________
length of hypotenuse
the cosine of "theta" = length of leg adjacent to "theta"
__________________________
length of hypotenuse
the tangent of "theta" = length of leg opposite "theta"
________________________
length of leg adjacent to "theta"
Note: The adjacent leg to "theta" is never the hypotenuse of the right triangle.
These formulas allow you to find all of the measurements of a right triangle.
If the "theta" is not known, you will need to use the inverses of the trigonometric functions. I'm not sure if OFP has this as a scripting command, but what the heck.
-1 will be used to symbolize the inverse function.
"theta" = sin-1(length opp. leg/ length hypot.)
"theta" = cos-1(length adj. leg/ length hypot.)
"theta" = tan-1(length opp. leg/ length adj. leg)
These commands should help you find the measurement of "theta"
Remember these theorems too.
Complements Theorem:
For all "theta" between 0 degrees and 90 degrees,
sin "theta" = cos (90 degrees - "theta")
cos "theta" = sin (90 degrees - "theta")
Pythagorean Identity Theorem:
For all "theta" between 0 degrees and 90 degrees,
(cos "theta")^2 + (sin "theta")^2 = 1
Tangent Theorem:
For all "theta" between 0 degrees and 90 degrees,
tan "theta" = sin "theta"
________
cos "theta"
Hope this helped someone
If you don't understand these formulas, just ask.
Thanks,
Bluelikeu