Question: Create a C++ Program that would evaluate the left side of the equation. First input, sin/cos/tan/cot (choose one trigonometric function only), Second input values of

Create a C++ Program that would evaluate the left side of the equation. First input, sin/cos/tan/cot (choose one trigonometric function only), Second input values of A & B or A only.
Output is evaluation of all sin/cos/tan/cot depending on the trigonometric function given (right side of the equation).
For example
Input 1: sin
Input 2: A=30, B=45
Outputs:
1. sin (30 + 45) = sin30cos45 + cos30sin45 (simplify)
2. sin (30 - 45) = sin30cos45 - cos30sin45 (simplify)
3. sin2(30)= 2sin30cos30 (simplify)
 Create a C++ Program that would evaluate the left side of

1. sin(A+B) sinAcosB+cosA sinB 2. sin(A-B) sinAcosB-cosA sinB 3. cos(A+B) cosAcosB-sinA sinB 4. cos(A-B)-cosAcosB +sinA sinB tanAtanb 1-tanAtanB tanA- tanB 5. tan(A+B) tan(A-B)"- 1tanAtanB cotA cotB-1 cot(A+BtA cotB cot(A-B). cotA cotB+1 cotB cotA 9. sin2A (a) 2sinAcosA (b) 10. cos2A (a) cos'A-sin A 2tanA 1tan A (b)1-2sin'A (c2cos'A-1 (d) 1-tan'A 1tan A 2tanA 1- tan A 11. tan2A

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!