Question: * Problem 4 e2n The aim of this exercise is to write a MATLAB code that test if the input 11 +ln(n) n is a

* Problem 4 e2n The aim of this exercise is to write a MATLAB code that test if the input 11" +ln(n) n is a multiple of 11, then the output value is otherwise it returns 0. The code is structured as below function [value] = test (n) if ......... value else value = 0; end end 1. Line 2 should be completed as a. if n/11 = 0; b. if n = 11*k; c. if mod(n,11) = 0; d. None of the above 2. Line 3 should be completed as a. value = (11^n+ln(n)/e^2*n; b. value = (11^n+log(n))/e^(2*n); c. value = (11^n+log(n))/exp(2*n); d. None of the above 3. Test your script with n = 22, then value = a. 0 b. 3633.41 c. 3.63341 d. None of the above
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
