Answered step by step
Verified Expert Solution
Link Copied!

Question

1 Approved Answer

Can you solve 5 and 6. U pour email before @buffalo.edu). POD Type format longg at the top of your script file to display more

image text in transcribed

Can you solve 5 and 6.

U pour email before @buffalo.edu). POD Type format longg at the top of your script file to display more in point when displaying your variables in the Command Window.. Script file to display more than 4 digits past the decimal HW1P2 (Verifying trigonometric identities) (24 points) in the following trigonometric identities by evaluating the left and right-hand sides independently, 1. sin? ( = 1-cos for 0 = 45 2. sin(30) = -4 sin + 3 sin for = 1/4 3. arcsin x + arcsin y = arcsin(x./1 - y2 + y 1 -- x2) for x = 0.5, y = V3/2 4. arcsin x - arcsin y = arcsin(x/1 - y2 - yv1 - x2) for x = 0.5, y = 73/2 5. arctan x + arctan y = arctan (**) for x = 0.5, y = 3/2 6. arctan x - arctan y = arctan (* ) for x = 0.5, y = 73/2 Hint: You must assign values to variables before using them in a command. Then, for each identity, assign the left hand side to a variable name LHS x where x is 1,2,3, or 4 and the right hand side to a variable name RHS_x and calculate the value of each variable separately. Then calculate the absolute difference between them and store the result in a variable named Err_xi.e., LHS - RHSI. Your final program should contain 3 variables for each trigonometric identity, i.e. for the first identity: LHS_1, RHS_1, Err_1. You may use, and are encouraged to use, any other variables you create. Save and submit both files to a single submission on Unlearns under Assignments > HW1. EAS 230 - Spring 2020 - HW1 U pour email before @buffalo.edu). POD Type format longg at the top of your script file to display more in point when displaying your variables in the Command Window.. Script file to display more than 4 digits past the decimal HW1P2 (Verifying trigonometric identities) (24 points) in the following trigonometric identities by evaluating the left and right-hand sides independently, 1. sin? ( = 1-cos for 0 = 45 2. sin(30) = -4 sin + 3 sin for = 1/4 3. arcsin x + arcsin y = arcsin(x./1 - y2 + y 1 -- x2) for x = 0.5, y = V3/2 4. arcsin x - arcsin y = arcsin(x/1 - y2 - yv1 - x2) for x = 0.5, y = 73/2 5. arctan x + arctan y = arctan (**) for x = 0.5, y = 3/2 6. arctan x - arctan y = arctan (* ) for x = 0.5, y = 73/2 Hint: You must assign values to variables before using them in a command. Then, for each identity, assign the left hand side to a variable name LHS x where x is 1,2,3, or 4 and the right hand side to a variable name RHS_x and calculate the value of each variable separately. Then calculate the absolute difference between them and store the result in a variable named Err_xi.e., LHS - RHSI. Your final program should contain 3 variables for each trigonometric identity, i.e. for the first identity: LHS_1, RHS_1, Err_1. You may use, and are encouraged to use, any other variables you create. Save and submit both files to a single submission on Unlearns under Assignments > HW1. EAS 230 - Spring 2020 - HW1

Step by Step Solution

There are 3 Steps involved in it

Step: 1

blur-text-image

Get Instant Access to Expert-Tailored Solutions

See step-by-step solutions with expert insights and AI powered tools for academic success

Step: 2

blur-text-image

Step: 3

blur-text-image

Ace Your Homework with AI

Get the answers you need in no time with our AI-driven, step-by-step assistance

Get Started

Recommended Textbook for

Students also viewed these Databases questions

Question

a neglect of quality in relationship to international competitors;

Answered: 1 week ago