The first picture is the formatting template and the second picture is the problem. Just do 2,3,4 in the formatting template for problem 3. Thank you!
1 Problem Statement Problem statement. If the problem is written out in the LATEX file, then feel free to copy the problem statement from the TEX file for the homework. If the problem is out of the book, then typeset the problem in your report. 2 Solution This may include numerical values, functions, figures, derivations, etc. Be sure to use complete sen- tences and units when reporting answers. If the problem includes multiple parts, use the enumerate environment. Figures and code references should be linked using the label and ref system. Deriva- tions should use the align* environment. Any math should use the math environment, including the names of variables. Check your spelling and grammar Also, make sure that you provide some justification for why you think the answers you are reporting are correct. 3 Command-line Usage This section describes how you solved the problem. This will reference to any any m-files you wrote, as well as what was executed on the command line. Use either the texttt or verbatim environments to report command-line usage. 4 Code Include any code you used to obtain your solution. Use the listings environment to report your code. Include the line package and the 1stlisting istset(language-Matlab in the preamble of your LATEX file so that the code is formatted as MATLAB code. on of what programs are included in this section using the label and ref commands. Each program should be placed in its own listings environment, which should usethe caption and frame options. The easiest way to include each program is with the 1stinputlisting command 1 Problem Statement Problem statement. If the problem is written out in the LATEX file, then feel free to copy the problem statement from the TEX file for the homework. If the problem is out of the book, then typeset the problem in your report. 2 Solution This may include numerical values, functions, figures, derivations, etc. Be sure to use complete sen- tences and units when reporting answers. If the problem includes multiple parts, use the enumerate environment. Figures and code references should be linked using the label and ref system. Deriva- tions should use the align* environment. Any math should use the math environment, including the names of variables. Check your spelling and grammar Also, make sure that you provide some justification for why you think the answers you are reporting are correct. 3 Command-line Usage This section describes how you solved the problem. This will reference to any any m-files you wrote, as well as what was executed on the command line. Use either the texttt or verbatim environments to report command-line usage. 4 Code Include any code you used to obtain your solution. Use the listings environment to report your code. Include the line package and the 1stlisting istset(language-Matlab in the preamble of your LATEX file so that the code is formatted as MATLAB code. on of what programs are included in this section using the label and ref commands. Each program should be placed in its own listings environment, which should usethe caption and frame options. The easiest way to include each program is with the 1stinputlisting command