You'll find a series of basic trigonometric problems below (finding angles and lengths of sides on right angle triangles). You can use one or more of three approaches to solving them:
Notes and Code | Outcome |
---|---|
I. Find Hypothenuse Given an Angle and the Opposite Side Length.Write a program that finds the hypothenuse of a triangle given the length of the opposite side and an angle. Test Case:
|
Answer ▼
x
HintsDo the algebra by hand and find the equation for h.Python:
Javascript:
|
II. Find Hypothenuse Given an Angle and the Adjacent Side.Write a program that finds the hypothenuse of a triangle given the length of the adjacent side and an angle. Test Case:
|
Answer ▼
x
|
III. Find Adjacent Side Given an Angle and the HypothenuseWrite a program that finds the length of the adjacent side of a right-angle triangle given the angle and the length of the hypothenuse. Test Case:
|
Answer ▼
x
|
IV. Find Angle Given Adjacent and Opposite SidesWrite a program that finds the angle (θ) given the lengths of the adjacent and opposite sides. Test Case:
|
Answer ▼
x
HintsPython:
|
V. Find Hypothenuse Given Two SidesWrite a program that finds the length of the hypothenuse of a right triangle given the length of the two other sides. Test Case:
|
Answer ▼
x
Hints
|