beginning in town a , biker bob rides his bike 8 miles west , 5 miles north , 4 miles east , and then 15 miles north , to town b . how far apart are town a and town b ? ( ignore the curvature of the earth . )
"using pythagoras we have one side i , e total distance traveled in north direction = 15 + 5 = 20 m other being the base ie distance traveled west - distance traveled eat = 8 - 4 = 4 m now this third side or the distance between town a and town b = 20 ^ 2 + 4 ^ 2 = sq root 416 = 20.4 miles answer : b"
sqrt(add(power(add(5, 15), const_2), power(4, const_2)))