HI, I have the angle in degrees ( like 22,45,67,75), I also have the length of 100 for the bottom black line. How do I calculate the LENGTH of X (ie dotted red line) I forgotten SIN, COS, TAN.. Please advise...thanks
Remember the rhyme about the indian princess named soh-cah-toa. sin = opposite over hypotenuse (sin->soh) cah = adjacent over hypotenuse (cos->cah) toa = oppositive over adjacent (tan->toa) Calculators do it in radians and not degrees, usually; make sure you convert from rad to deg, or deg to rad for the values.
Ok its NOT working.. Tan(67) = X/100 100 * Tan(67) = X I assume I convert the 67 to redians like Angle = 67 / 180 * Math.PI
Why convert to radians? Just make sure whatever you are using to calculate the tangent is in degrees. Either way it will be the same answer. It would be (67 * Pi) / 180 if you are trying to convert to radians. http://mathworld.wolfram.com/Tangent.html