To find the straight-line distance from the starting point to the endpoint after Jaya's drive, we can visualize his path as forming a right triangle.
- Northward Distance: Jaya drives north for 9 miles.
- Eastward Distance: After turning right, he drives east for 40 miles.
Now, we can represent this situation as a right triangle where:
- The northward leg of the triangle is 9 miles,
- The eastward leg of the triangle is 40 miles.
We can use the Pythagorean theorem to find the hypotenuse (the straight-line distance from the starting point):
\[ c = \sqrt{a^2 + b^2} \]
where:
- \( a = 9 \) miles (northward distance),
- \( b = 40 \) miles (eastward distance),
- \( c \) is the distance from the start to the endpoint.
Substituting the values into the formula:
\[ c = \sqrt{9^2 + 40^2} \] \[ c = \sqrt{81 + 1600} \] \[ c = \sqrt{1681} \] \[ c = 41 \]
Therefore, the straight-line distance from the starting point to the endpoint is 41 miles.