Question

1. [48 points] Look at the following MATLAB script: The code has numerous errors in it. It is supposed to compute the values of y = ax? + bx +

c for various input parameters a, b, c, for x in the range of [s,e] (start to end) and save to a file called results.txt. Spot and correct the various errors. Your goal is to revise codes to run without error. Submit m. file with revised codes and use % to comment how you revised right above the revised coding.

Fig: 1

Fig: 2

Fig: 3