```python
import math

def otherside_rightangle(w, h):
  """
  Calculates the length of the hypotenuse of a right-angled triangle,
  given the lengths of the other two sides (legs).
  
  Args:
    w: The length of one leg of the right-angled triangle.
    h: The length of the other leg of the right-angled triangle.
    
  Returns:
    The length of the hypotenuse.
  """
  return math.hypot(w, h)

```