Update the value of a function in Manim

Submitted by Jhun Vert on Tue, 11/10/2020 - 12:42

The code below will update the function V = 3(x - 6)2 as x increases in value. Notice that the equation is a parabolic curve with independent variable x and dependent variable V. The whole graph actually cannot be fitted on the screen. To improve visibility, the equation was multiplied by a reduction factor whose value is embedded-hard into the equation.