
function confronto

m=10^5:-1:1;
x=1./m;
y1=approssimazione1(x);
y2=approssimazione2(x);

for j=1:10^5
    
    if abs(y1(j)-y2(j)) > 10^(-6)
        fprintf('\n \t j   : %6.0f',j);
        fprintf('\n \t x(j): %1.15e \n \n',x(j));
        break;
    end
end
