find tan(angle)
how to find tan of angle in lispmy code
tanA= x/y
i know Aand x
how to get y ?
help me. So, you know the angle and the oposite leg and look for adjacent leg?
(setq theY (/ theX (/ (sin theAngle) (cos theAngle))))
Regards,
Mircea thanks,
i did try it. but if angle is greater than 90 then how to find y? The above trigonometric formula works only in right-angled triangles - for your case need to split your current triangle in right-angled triangles and perform calculations in each to get the appropriate formula.
Can you post a sketch of your case?
Regards,
Mircea Or, if you know the size of triangle's third leg may use the cosine theorem.
Regards,
Mircea
页:
[1]