Rolle's Theorem

A continuous differentiable function is shown with end points such that . One end point can be adjusted and the other one will be where the values are equal. The plus symbols can be adjusted on the -axis. Orange diamonds show the location where the derivative is zero, The function can be modified with the small black circles.
Any time the domain is not empty at least one diamond should appear. This indicates a zero derivative.