Answer 1Matlab Codex=[1:0.05:3];y=x.^2;plot(x,y);grid onxlabel(‘x’);ylabel(‘y’);title(‘y=x^2’); Plot Answer 2(a)1) Using ‘—‘ 2) Using ‘.’ Answer 2(b) 1) Using ‘r’ for red 2)…Statistics and Probability