% Nädal 3, ülesanne 5
y1=@(x) 2.*x+4;
fplot(y1,[0.01,10])
hold on
y2=@(x) x.^2-2.*x+1;
fplot(y2,[0.01,10])
hold on
y3=@(x) 1./x;
fplot(y3,[0.01,10])
hold off
legend('y1=2x+4','y2=x^2-3x+1','y3=1/x')
