The displacement is the straight-line distance it flew when everything is over. We don't count all of the turns that it made in the displacement. So if it's in an opposite corner we just need to know how far it is from one corner of a box to the opposite corner with the given dimensions. We use the Pythagorean Theorem for part a):
[tex]d= \sqrt{3.00^{2}+3.70^{2}+4.30^{2}}=6.42m [/tex]
b). Since the displacement is the straight line path, there are no shorter paths that this.
c)All other paths are greater
d) if the fly flies this path, then they would be equal
in cartesian coordinates, the vector is the sum of the 3 components whose magnitudes are the wall lengths and whose directions are parallel to that wall:
[tex]D=a_x3.70+a_y4.30+a_z3.00[/tex]
The shortest walking path is 7.96m.