Write a program using MATLAB

Write a program using MATLAB

I have included the instrctions for this assigment and have provided ample amount of time.  If possible add comments as to why something was done on a separate text file.