clc;
clear all;
close all;

x=[-100:2:100];

for i=1:length(x)
    y1(i)=5*x(i)^2;
    y2(i)=40*x(i)+5000;
end

hold on;
plot(x,y1,'b*-');
plot(x,y2,'ro--');

grid on;
legend('y1=疳襻怙朕','y2=艴桢哚',2);
