A useful demonstration of calculus in a physics high school laboratory