Use MATLAB to solve the question

I need you to use MATLAB application and write a report for me. please add comments as well on the codes also add the output that are obtained from the codes in the report and explain, please do question 3 only!!

Do not copy and paste from Google, please