The program should be in C programming

Please find the answer below.
Please do comments in case of any issue. Also, don't forget to rate
the question. Thank You.
code.c
#include<stdio.h>
#include<math.h>
void findC(float a,float b,float lenA){
float angleC = 180-a-b;
float radianChanger = 3.14/180;
printf("The value of angle c is :
%.2f\n",angleC);
float lenC =
sin(angleC*radianChanger)*lenA/sin(a*radianChanger);
printf("The value of length c is :
%.2f\n",lenC);
}
int main(){
float angleA,angleB,angleC;
float lengthA,lengthB,lengthC;
printf("Enter value of angle a : ");
scanf("%f",&angleA);
printf("Enter value of angle b : ");
scanf("%f",&angleB);
printf("Enter value of length A : ");
scanf("%f",&lengthA);
if(angleA<0 || angleB<0 ||
lengthA<0){
printf("Error!!! Please enter
positive values for the parameters....");
}else if(180<=(angleA+angleB)){
printf("Error!!! Please enter valid
angle values");
}else{
findC(angleA,angleB,lengthA);
}
return 0;
}



The program should be in C programming The law of sines is an equation relating the...
Write a C++ program to analyze a variety of triangles. The program should determine all angles and all sides for a triangle for three different options (give the user a menu of choices): Given two angles and one side First check to be sure that the three values entered are valid. In particular, the following conditions must be met: Side > 0 For each angle: 0 < angle < 180 (if angle is in radians, convert it to degrees first...
Write a C++ program to analyze a variety of triangles. The program should determine all angles and all sides for a triangle for three different options (give the user a menu of choices): 1) Given two sides and the angle between 2) Given two angles and one side 3) Given three sides More details for each option is provided below. Option 1: Given two sides and the angle between First check to be sure that the three values entered are...
The only ideas that can be used include: area ABCI-RA2(A+B+C-lpi), the Pythagorean theorem: Cos c cos a cos b. Vectors-dot product cross product, sin A-sin a/sin c; cos A-cos a sin b/sin c; spherical law of sines, spherical law of cosines for sides and spherical law of cosines for angles Let r be the radius of the incircle of triangle ABC on the unit sphere S. If all the angles in triangle ABC are right angles, what is the exact...
Write a program to compute the area of a triangle using side-angle-side method and reports the area of that triangle (rounded to 2 decimal places). Side-angle-side formula: ???? = 1/ 2 ?? sin(?), where a and b are two sides of the triangle, and C is the included angle. Your program must meet the following criteria to receive full marks: • Randomly generate two values between 5 and 10 (inclusive) for two sides a and b of the triangle, respectively....
Use the Law of Sines to find the indicated side x. (Assume a = 17. Round your answer to one decimal place.) x = A 37.5 Need Help? Read It Master It Talk to a Tutor -/1 points v SPRECALC7 6.5.006. Use the Law of Sines to find the indicated angle 0. (Assume C = 62°. Round your answer to one decimal place.) eB 80.2 Need Help? Read It Talk to a Tutor -/3 points v SPRECALC7 6.5.009. Solve the...
2. Write a program that prompts a user to enter the lengths of sides and angles for the two triangles described below. The program should calculate the length of the side of the triangle indicated below. Print the two answers to 3 decimal places onto the console screen Triangle 1 Read in the value of the angle, alpha, and the length, a, of the side indicated in the picture below. Calculate the length of the hypotenuse, c, of this right...
Program Description Write a program that calculates the distance between two places on Earth, based on their latitude and longitude. Prompt the user to enter the latitude and longitude of two places. The Earth’s mean radius is to be taken as 6371.01 km. Use user-defined variables with descriptive names wherever necessary. Following steps will have to be followed: Program must have header comments stating the author of the Program, date, and Program Description. Include the math.h header file Initialize a...
Find the lengths of the missing sides if side ais opposite angle A, side bis opposite angle B, and side c is the hypotenuse Draw a right triangle labeling side a, side b, and hypotenuse, and their corresponding angles. Define the ratio for tan(A) in terms of ab, or what proportion relates the given valu for tan(A) and the defined ratio for tan(A)? How is this proportion solved for a with values for side and sideb, use the Pythagorean Theorem...
Description Write C++ code that correctly input and output information. (Moving data to and from the screen and to and from text files. Also inputting predefined functions, etc., from included libraries.) Problem Description Consider a data file that has geometrical angle values in degrees. Angle values may be on one line, several lines, or any other white space separated format. Fig. 1 below shows one possible format, but other formats are possible. 12.9 100.8 270.5 300.6 120.8 There are no...
**This is for the C Language. Trigonometric Calculator Specification You are required to write a program that calculates and displays values of the trigonometric functions sine, cosine, and tangent for user-supplied angular values. The basic program must comply with the following specification. 1. When the program is run, it is to display a short welcome message. TRIG: the trigonometric calculator 2. The program shall display a message prompting the user to enter input from the keyboard. Please input request (h-help,...