The get the imagevar(f)=σ2(11N(x0−¯x)2∑(xi−¯x)2)use the following code in your comment:

See Comment formatting/Using LaTeX to render mathematics on the wiki for more details. I’ve used codecogs editor and fixed an issue in the URL manually; there are other options listed on the wiki. The LaTeX code for the codecogs editor is this:
\textit{var}(f) = \sigma ^ 2 \left ( 1+\frac{1}{N} + \frac{(x_0 - \bar{x})^2}{\sum (x_i-\bar{x})^2} \right )
The get the image
var(f)=σ2(11N(x0−¯x)2∑(xi−¯x)2)
use the following code in your comment:
See Comment formatting/Using LaTeX to render mathematics on the wiki for more details. I’ve used codecogs editor and fixed an issue in the URL manually; there are other options listed on the wiki. The LaTeX code for the codecogs editor is this: