You mean you have the length of two sides of a triangle and now you want a certain angle in this triangle? (where one has 90°)

Please explain your problem more precisly.