function retur = kvadratrot(tall) x = 1; for i = 1:20 x = x + (tall - x^2)/(2*x); end retur = x; end