i'm not sure how much calculus they used if any but celestial navigation used very advanced geometry and trignometry and yes they just learned it all on the job as part of being a midshipman.
United States