Let's take the north-south direction as y-direction (with south being positive) and east-west direction as x-direction (with west being positive). Therefore, the two components of Cody's motion are:
- (south)
- (west)
Since they are perpendicular, the magnitude of the net displacement can be calculated by using Pythagorean's theorem:
The direction instead can be measured as follows:
And given the convention we have used, this angle is measured as south of west.
The frequency is exactly the rate at which the bug beats its wings. If that "600" that you mentioned is 600 beats per second, then THAT's the frequency . . . 600 per second. (600 Hz)