Question: The starting code shows how to: ( a ) Read float values x _ degrees and y _ degrees, each representing an angle in degrees;

The starting code shows how to:
(a) Read float values x_degrees and y_degrees, each representing an angle in degrees;
(b) Convert each to radians as x_radians and y_radians, then print out the values;
(c) Print out the trig formula string: sin(x+y)= sin(x)*cos(y)+ cos(x)*sin(y)
(d) Print out the result of evaluating the left side of the identity formula, using the sum of the specific values of sin(x) and
sin(y), where x and y are in radians,
(e) Print out the result of evaluating the right side of the formula, substituting your converted input values into the appropriate math
function(s).
The above example is for the sin(x+y) formula. Repeat for the following two additional identities:
cos(x+y)= cos(x)*cos(y)- sin(x)*sin(y)
tan(x+y)=(tan(x)+ tan(y))/(1 tan(x)*tan(y))
Use the trig functions from the math module: math.sin(), math.cos(), and math.tan(). Note these all take arguments in
radians, not degrees. math.radians(deg) will convert and return the degrees deg as an equivalent radian value.
You can use the inputs for x_degrees and y_degrees for your additional identities.
Your output should look like the following for the first of the three remaining identities. Actual numeric values are missing and
marked as ---; you will fill these in on output:
Enter x_degrees (degrees): ---
Enter y_degrees (degrees): ---
x_degrees in radians (x_radians) is: ---
y_degrees in radians (y_radians) is: ---
The formula is: sin(x+y)= sin(x)*cos(y)+cos(x)*sin(y)
The left side is: ---
The right side is: ---
This is a python programming question on trig ...its probably Java too

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!