Consider
\displaystyle
\int_{0}^{U}
{\color{blue}f(x)} \; dx =
fractionReduce(roundTo(2,3*F(U)),3).
At what height {\color{red}h}
do the two (orange) areas above and below this height match?
The {\color{red}h}
we are looking is one side of the rectangle.
The other side of the rectangle can be read on x
-axis
with {\color{orange}a}
.
Thus the area of the rectangle is
F= {\color{red}h} \cdot {\color{orange}a}.
On the blue piece there's equality of F
and the area
between x
-axis and parabola.
Thus the orange areas are the missing piece of both.
We choose {\color{red}h}
such that
F
equals the area between x
-axis and parabola.
Therefore
\displaystyle
F = {\color{red}h} \cdot {\color{orange}a} =
\int_{L}^{U}
{\color{blue}f(x)} \; dx =
fractionReduce(roundTo(2,3*F(U)),3)
and
\displaystyle
{\color{red}h} = \frac 1{{\color{orange}a}}
\int_{L}^{U}
{\color{blue}f(x)} \; dx =
\frac 1{{\color{orange}a}} \cdot
fractionReduce(roundTo(2,3*(F(U)-F(L))),3) =
fractionReduce(roundTo(2,3*(F(U)-F(L))),3*a).