The displacement is 18.03 steps, and the direction is 47.25°
How to get the displacement?
We know that displacement is the difference between the final position and the initial position.
We assume the initial position (0, 0). Let's define the positive x-axis as the east and the positive y-axis as the north.
First, the student moves 8 steps east, so she is at:
(0 + 8, 0)
Then she moves 6 steps northeast, so the new position is:
(6*cos(45°) + 8, 6*cos(45°))
Finally, she moves 9 steps due north, so we have:
(6*cos(45°) + 8, 6*cos(45°) + 9)
Then the final position is:
So the displacement is:
D = (12.24, 13.24) - (0, 0) = (12.24, 13.24)
The magnitude of the displacement is:
So the magnitude is 18.03 steps.
And the direction is given by the arctangent of the quotient between the y-component and the x-component:
If you want to learn more about displacements: