In which of the following situations would using the Pythagorean theorem be helpful?
1. a contractor wanting to determine how high to build a staircase

2. a contractor wanting to determine if a corner is square

3. an architect wanting to determine how high a roof should be

4. an architect wanting to determine a stair railing height