%uloha 121

x=1:5; y=[5.5 43.1 128 290.7 498.4]
[y_apr, p,S]=aprox_poly(x,y,2)    %vyuziti hotove funkce
plot(x,y,'o',x,y_apr)
%hezci graf
figure
x1=1:.1:5
plot(x,y,'o',x1,polyval(p,x1))
