n=input("n = ");
a=0;b=0;x=0;
for k=0:(n-1)
    a=a+1/n*sqrt(x)
    x=x+1/n
    b=b+1/n*sqrt(x)
end 
afficher("a = "+ string(a));
afficher("b = "+ string(b));