Question:

for each problem document all steps you took to solve the

Last updated: 8/22/2023

for each problem document all steps you took to solve the

for each problem document all steps you took to solve the problem This can be handwritten but must be legible for credit If the problem states By hand do not use any program function to solve the problem however you may use a non programmable calculator to help in determining the numerical results of individual steps submit to Gradescope the requested Gradescope portions listed under each problem on Gradescope associate select your answer pages with the corresponding problem numbers Failure to do so may result in no points given initially and will require a re grade request to fix If the problem header contains MatlabGrader you must submit your solution to Matlab Grader using the Course Navigation Bar Link Matlab Grader Homework F23 Problem 1 MatlabGrader Develop a Matlab function mySquarea that calculates the first N squares As input the function shall take the positive integer number N and as output the function shall give a column vector y of length N containing y 1 for i 1 N Problem I required submission Well commented function source code submitted to Matlab Grader Problem 2 MatlabGrader Gradescope Write a script that generates a plot of the first 20 squares vs i Use your function from problem 1 to generate the data to plot Notes for the MatlabGrader script submission Comment out clear or clear all in your script when submitting to Matlab Grader Generate and store the figure handle examFig1 for the graph before doing any plotting commands using examFigl figure 1 Properly label both axis using the appropriate variable names i e i y Do not include the source code for mySquares in your submission A correct version is used automatically on Matlab Grader Problem 2 required submission Well commented script source code submitted to Matlab Grader Printout of well commented script you coded included in your Gradescope submission