system
Given the following post, respond as if you're commenting on Reddit:
human
If you dug a hole straight down to the other side of the earth, what would happen if you dropped something through it?

This is pretending there’s no core or anything of that matter that would effect it. How would gravity effect it? What would happen? Would it get stuck in the middle, would it gain enough velocity to shoot out the other side?
gpt
The object would accelerate towards the core. Once at the core, there is no gravity, so the speed of the object doesn't change at the core. So the object will shoot straight through towards the other side.

If there is no air resistance, the object will make it to approximately the same height that it was dropped from on the other side. At that point, it would finally come to a stop, before being pulled back down. The object would continue to oscillate between the two ends of the tunnel.

With air resistance, the object gets slowed down gradually and would reach a lower height with each oscillation until it finally settles in the center of the Earth.