Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 5.3

...

Code Block
function  result = recMult(n,tol)
if (1+1/n^2) < 1+ tol
    result =  1;
else
    result = (1+1/n^2)*recMult(n+1,tol);
	disp(result)
end
end