So, you know the angle and the oposite leg and look for adjacent leg?
Regards,Code:(setq theY (/ theX (/ (sin theAngle) (cos theAngle))))
Mircea

Registered forum members do not see this ad.
how to find tan of angle in lisp
my code
tanA= x/y
i know A and x
how to get y ?
help me.
So, you know the angle and the oposite leg and look for adjacent leg?
Regards,Code:(setq theY (/ theX (/ (sin theAngle) (cos theAngle))))
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
Registered forum members do not see this ad.
Or, if you know the size of triangle's third leg may use the cosine theorem.
Regards,
Mircea
Bookmarks