This construction is intended to help visualize a Calculus optimization problem.[br]The goal is to find the [b][color=#ff0000]point(s) B[/color][/b] on the graph of the function [i][color=#0000ff]f(x)[/color][/i] that is closest to the given [color=#0000ff][b]point A[/b][/color].[br][br]Drag [b][color=#ff0000]point B[/color][/b] along the curve of [i][color=#0000ff]f(x)[/color][/i] and see if the results reinforce the results of your Calculus analysis. [color=#6aa84f][b]Point B[/b] will turn green[/color] when you are close to a location where the distance to the curve is either a local minimum or local maximum.[br][br]Play with the various toggles to see how they are relevant to the task at hand.[br][br]Enter your desired [i][color=#0000ff]f(x)[/color][/i] equation into the input field and drag [b][color=#0000ff]point A[/color][/b] to your desired location. [color=#0000ff][b]Point A[/b][/color] should snap to grid points. For finer control when repositioning either point, select the point and then use keyboard arrows to increment by small amounts. Hold Shift or Ctrl/cmd while doing this to scale increment down/up.[br][br][b]Zoom:[/b] Pinch on touch screen, scroll wheel on mouse. Or click somewhere in the graphics view and then Ctrl/cmd + and Ctrl/cmd – on keyboard.[br][b]Pan:[/b] Click/touch and drag in an empty part of the x-y plane.[br][b]Full screen:[/b] Click/touch icon in lower-right corner of graphics view.[br]