SECTION B - PASTE ALL ANSWERS INCLUDING (CODES, MODELS AND OUTPUT CURVES) IN ONE FILE MICROSOFT WORD AND SUBMIT THE SOFT COPY TO THE SUPERVISOR BEFORE YOU LEAVE 180 POINTS QUESTION ONE . The surface area A of a cylinder of radius r and height h is given by the formula: 4-7) Write a MATLAB function named cylinder Surf that takes the radius and height of the cylinder as a parameter and returns the surface area of the cylinder using the formula above. Make sure your function works if a vector of radius values is given (i.e., it should calculate a vector of corresponding surface areas) [6 points) b) Given the radius, r = 2cm to Scm (.e., r = 2:5) and h as Scm, calculate the corresponding surface Area with your function in (a) [4 points) Given 3 Solve for x and y simultaneously on your answer sheet (show work for full mark) [5 points) i) Confirm your answer with Matlab code [10 points) QUESTION TWO You wish to write a script that will analyze the following function: 2x' cos 7 - exp(0.25) .Write the m-file, fun_x.m, required to define this as a MATLAB function. [5 marks) Consider the function Write a MATLAB script that will produce a smooth graph of this function on the interval x = [0-3]. Submit your entire MATLAB script. [6 points) Give a brief explanation of system modeling. [4 points) QUESTION THREE Plot the graph of y against x of [15 points) cos(2t - 7) 9 6x? +3 and y = 3x + 2 on a row vector of 300 linearly equally spaced points between -2 and 2. a) Plot both functions on the same axis with different colors and symbols b) Label both axis c) Title the graph as A Graph of Two Functions d) Add a legend to your output Evaluate dy - (2x - 4x + 2)dx Solve the integral function on your answer sheet [5 point] Confirm your answer with matlab code [5 points) QUESTION FOUR Build the SIMULINK model below to find the closed loop step response for the transfer G(s) to a unit step Shep +102-307-21 Transfer Fon Scope Kp Ensure the following: The step occurs at time 0 (the default is for it to occur at time 1). . The stop time of the simulation is 200seconds. [10] b) Modify your block and reproduce the same graph in Matlab. [5 points)