Pithagore Formula with Math.sqrt function