f(x) =
   α =
≤ x ≤
Instructions: Define continuously differentiable f(x) using JavaScript syntax. The graph constantly plots f and f' (dashed), as well as f(α) with α ∈ [0, 4] chosen by you.

Expect imprecision! This is a very hacky numerical approximation of for demo purposes. Feel free to improve that state by contributing.