How long is a satellite visible from the ground?
It's a clear, dark night. You look up and gaze at the stars, shining reminders that the universe is vast and wonderful. While you're peacefully basking in the light of distant suns, you notice one bright dot is out of place. It's moving. But no blinking lights, like we'd expect of an aircraft. Chances are, it's another invention of our modern age–a satellite. Think about that: an object that we puny humans created and then shot into space on a tower of fire.
When we're fortunate enough to spot a satellite, how long will it be visible? The geometry of the Earth and the satellite's orbit limit how much of the orbit can be seen from the ground. A satellite might first be visible when it ascends above the horizon, and then disappear after it crosses overhead and dips below the horizon in the opposite direction. With a few simplifying assumptions, a pinch of trig, and a smidge of orbital mechanics, these squishy statements can be made precise. I'll walk you through the steps. First, I'll lay out the basic geometry and key assumptions.
To a good approximation, the Earth is a sphere with radius

The satellite is visible only for the part of its orbit above the observer's horizon. This arc is shown as the bold section above. Measured from the center of the satellite's orbit (also the center of the Earth),
Connecting the ends of the visible arc is a line that is tangent to the Earth's surface and perpendicular to the line from the Earth's center to the observer. This line, together with the three lines from the center of the orbit, forms two equivalent right triangles, each with angle

Here's where the trig comes in: notice that
When
For an orbital altitude of
From Kepler's third law, the period
where
Now let's put all of this together. If only the smallest power of
When
That's it! I hope you enjoyed learning a bit about satellite orbits. And I hope you're inspired to do some satellite spotting.