Question
Note: For computer language, please use the one used in the program Dev C++. Thank you. Write a program to calculate the remaining one side
Note: For computer language, please use the one used in the program "Dev C++." Thank you.
Write a program to calculate the remaining one side and two angles for a triangle given two sides and one opposite angle using the law of sines, as illustrated below. Units are not required for the sides.
Inputs: sides a, b, and angle A (in degrees)
Outputs: angles B and C and side c (add the word degrees after each angle)
Turn in a printout of the program and printouts for all required test cases.
Testing: Run the program for the three cases shown below (answers shown for Case 1 in example below):
Case | side a | side b | angle A |
1 | 20 | 10 | 30 |
2 | 7.5 | 10.5 | 40 |
3 | 100 | 100 | 60 |
Step by Step Solution
There are 3 Steps involved in it
Step: 1
Get Instant Access to Expert-Tailored Solutions
See step-by-step solutions with expert insights and AI powered tools for academic success
Step: 2
Step: 3
Ace Your Homework with AI
Get the answers you need in no time with our AI-driven, step-by-step assistance
Get Started