The railroad needed a way station, and Las Vegas was the place.
Las vegas seemed to be the best place to put a way station.
This calculated interest is the effective interest of the investment (referred to as effective yield in some literature).