Hello I'm not sure how to evaluate this $$\frac{\sum^n_{i=0} x_i} {\sum^n_{i=0} x_i^2 } $$ is it $$\displaystyle \frac{x_0+x_1+...+x_n}{x_0^2+x_1^2+...+.x_n^2}$$
or
$$\frac{1}{\sum^n_{i=0}x_i}$$
EDIT
Now consider this $$\frac{\sum^n_{i=0} (x_i-a)\sum^n_{i=0} (x_i-a) }{\sum^n_{i=0} (x_i-a)^2\sum^n_{i=0} (x_i-a)^2}=\frac{\sum^n_{i=0} (x_i-a)^2}{\sum^n_{i=0} (x_i-a)^2\sum^n_{i=0} (x_i-a)^2}= \frac{1}{\sum^n_{i=0} (x_i-a)^2}$$
Is it ok?
Im not sure when can we split the summation and when we can't. Where can I get more information about this. ?