Oil Pipeline Optimization Problem

This (modifiable) applet was created to model this problem that appears on pg. 218 in Howard Anton's [b]Calculus 5/E[/b] text (c) 1995 by John Wiley & Sons, Inc. [br][br]"An [color=#9900ff][b]offshore oil well[/b][/color] is located in the ocean at a [color=#9900ff][b]point [i]W[/i][/b][/color], [color=#9900ff]which is 5 mi from the closest shorepoint[/color] [i]A[/i] on a straight shoreline. The oil is to be piped to a [color=#666666][b]shorepoint [i]B[/i][/b][/color] that is 8 mi away from [i]A[/i] by [color=#0000ff][b]piping it on a straight line under water[/b][/color] from [color=#9900ff][b][i]W[/i] [/b][/color]to [color=#38761d][b]some shorepoint [i]P[/i][/b][/color] between [i]A[/i] and [b][i][color=#666666]B[/color][/i][/b] and then on to [i][color=#666666][b]B[/b][/color][/i] via pipe [color=#980000][b]along the shoreline[/b][/color]. If the cost of [color=#0000ff][b]laying pipe is $100,000 per mile under water[/b][/color] and [color=#980000][b]$75,000 per mile over land[/b][/color], [color=#38761d][b]where should the point [i]P[/i] be located to minimize the cost of laying the pipe?[/b][/color]" [br][br]Use optimization (i.e. real-world application of the closed-interval method) to solve this problem. You can use this applet to determine the reasonableness of your solution afterwards. (You can also change the locations of the [color=#9900ff][b]well[/b][/color], [color=#666666][b]point [/b][/color][i]B[/i], and [color=#38761d][b]point [i]P[/i][/b][/color]).

Information: Oil Pipeline Optimization Problem