Code has already been provided to create the four variables a, b, c, and d. Add commands to evaluate the following expressions using thesevariables and assign the results to the indicated variable...


Math Expression with Variables (with log, exp and trig functions) My Solutions ><br>Code has already been provided to create the four variables a, b, c, and d. Add commands to evaluate the following expressions using these<br>variables and assign the results to the indicated variable names:<br>A = a· cos(bc + d)<br>Assign the result for A, to the variable Answer1. Note that the values of b, c, and d defined in the given code are all in radians.<br>Az = d · In | 4 – b<br>Assign the result for A, to the variable Answer 2. Note the absolute value of the argument to the logarithm.<br>A3 = a · e
Run Script "/>
Extracted text: Math Expression with Variables (with log, exp and trig functions) My Solutions > Code has already been provided to create the four variables a, b, c, and d. Add commands to evaluate the following expressions using these variables and assign the results to the indicated variable names: A = a· cos(bc + d) Assign the result for A, to the variable Answer1. Note that the values of b, c, and d defined in the given code are all in radians. Az = d · In | 4 – b Assign the result for A, to the variable Answer 2. Note the absolute value of the argument to the logarithm. A3 = a · e" (cos ( + d) + sin ( + d) ) Assign the result for A, to the variable Answer3. Note that e in this expression is the exponential function. Script e H Save C Reset I MATLAB Documentation 1 %Define variables a, b, c, and d 2 a = 2.2: 3 b = 5.1; 4 C = -3.1; 5 d = 1.8; 7 %Enter commands to evaluate the expressions and assign the results 8 %to the variable names given in the problem statement. Note the values of the variables 9 %a, b, c, and d are defined in lines 2-5. 10 %own code. Be sure not to overwrite these values with your 11 12 13 14 15 16 17 18 19 > Run Script
Jun 11, 2022
SOLUTION.PDF

Get Answer To This Question

Related Questions & Answers

More Questions »

Submit New Assignment

Copy and Paste Your Assignment Here