matlab homework 34

In the attachment, you will find 3 questions. Using MATLAB, Write the code for them in one (.m) file