In the fall of 2013 I took Math 1210 (Calculus I). The below PDF is a technical document I wrote up to demonstrate the use of derivatives to find the optimal cost function for laying pipeline on a specific path from a natural gas well to an oil refinery. Enjoy.