Question: Problem 3 parts b, c, d, f and g Create a script. Save your script to your desktop. Complete the following: a) Write your name
Problem 3 parts b, c, d, f and g Create a script. Save your script to your desktop. Complete the following: a) Write your name and section number on separate lines: use separate comments to accomplish this b) Define a variable x = [1 -3 5] and a variable y = [2 7 4], storing the results as variables x and y respectively c) Add pi to each element of x and store the result as the variable x; add e to each element of y and store the new result as the variable y. Do not look up the values of pi or e! d) Find cos (x) (using radians) and cot(y)(using degrees) e) Find tan^-1 (cos(x)) (using radians) and sin^-1 (cot(y)) (using degrees) f) Find the element-by-element product z = x * y. Be careful with the syntax! g) What element is in the third row, first column of z? Use a command to find the value (i.e. do not read this out from the Workspace)
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
