Academic Integrity: tutoring, explanations, and feedback — we don’t complete graded work or submit on a student’s behalf.

The command to find the value of sin(a) where a is 46 degrees, is A. sin(46) B.

ID: 3143120 • Letter: T

Question

The command to find the value of sin(a) where a is 46 degrees, is A. sin(46) B. sin(a) C. sin c(46) D. sin((46*pi)/180) The command for finding the exponential function of a number is A. e B. e^C. exp D. exp^What will be the displayed result after executing the following script file in MATLAB? x = 3i: y = x/2* squareroot (-1): z = x + y A. 1.5 + 3 B. 3 + 1.5i C. -1.5 + 3i D. none of above What will be the displayed result after executing the following script file in MATLAB? x = -i: y = x* squareroot (-1): x + y A. -i B. i C. 1 - 1i D. none of above The code is executed by A. first entering f mass at the Matlab prompt B. first entering fmass(1, 2) at the Matlab prompt C. entering (0) at the Matlab prompt D. entering at the Matalb prompt E. entering at the Matlab prompt The vector, = [3: 0. 5: 9] yields ____ elements? A. 2 B. 10 C. 13 D. 20 To plot y = x^2 from x = 3 to 7, the command sequence is A. x = 3: 0.1: 7 y = x.^2 plot(x, y) B. x = 3: 0.1: 7 y = x.^2 plot(y, x) C. x = 7: 0.1: 3 y = x^2 plot(x, y) D. x = 7: -0.1: 3 y = x^2 plot(y, x) The MATLAB command to solve x^2 + 2x = 0 syms x A. solve ('x^2 + 2x = 0', x) B. solve ('x^2 - 2x', x) C. solve ('x^2 + 2*x = 0', x) D. solve ('x^2 + 2*x = 0') The MATLAB command to solve 3x^2 + 2x = 5 syms x A. solve ('3*x^2 + 2*x + 5', x) B. solve ('3*x^2 + 2*x - 5', x) C. solve ('3*x^2 + 2*x + 5 - 0', x) D. solve ('3*x^2 + 2*x - 5, x') The correct code sequence to solve the following system of linear equations is coef = [2 4 -1: 2 -2 7: 1 4 7]: rhs = [3: 6: -2]: A. ukn = coef*rhs B. ukn = inv(coef)*rhs C. ukn = coef*inv(rhs) D. ukn = inv(rhs)*coef Find the value of h[n]*d[n - 1], d[n] being the data function. A. h[n - 2]. B. h[n]. C. h[n - 1]. D. h[n + 1].

Explanation / Answer

37. Answer is D. Sin (46*pi/180)

Y = sin(X) returns the sine of the elements of X, where X is in radians thus in our question we will convert 46 degree to radian.

38. Y = exp(X) returns the exponential ex for each element in array X

Thus answer is option 'C'