input: Write a python function to compute the square root of a given number using the Newton-Raphson method.
  assert my_sqrt(36) == 6.0
  assert my_sqrt(49) == 7.0
  assert my_sqrt(1) == 1.0
  assert abs(my_sqrt(2) - 1.41421356237) < 1e-10
  assert abs(my_sqrt(100) - 10.0) < 1e-10
output: def my_sqrt(x):
      if x < 0:
          raise ValueError("Cannot compute the square root of a negative number")
      if x == 0:
          return 0
      guess = x / 2.0
      tolerance = 1e-10
      while True:
          next_guess = (guess + x / guess) / 2
          if abs(next_guess - guess) < tolerance:
              return next_guess
          guess = next_guess