Can someone please explain to me how to solve a summation with subscripts.
This just means add up the individual terms (and divide the result by n). For example
Ifthe$X$′swere$X1,X2,X3$then$3∑k=1Xk=X1+X2+X3$Sometimesyoumighthaveafunctiontosum,ratherthanasetofdata;andsometimesthatsummationmightsimplify.Forexample\sum_{k=1}^nk^2=\frac{n(n+1)(2n+1)}{6}$$
I should perhaps expand that last one a little:
\sum_{k=1}^nk^2=1^2+2^2+3^2+...+n^2=\frac{n(n+1)(2n+1)}{6}$$
This just means add up the individual terms (and divide the result by n). For example
Ifthe$X$′swere$X1,X2,X3$then$3∑k=1Xk=X1+X2+X3$Sometimesyoumighthaveafunctiontosum,ratherthanasetofdata;andsometimesthatsummationmightsimplify.Forexample\sum_{k=1}^nk^2=\frac{n(n+1)(2n+1)}{6}$$
I should perhaps expand that last one a little:
\sum_{k=1}^nk^2=1^2+2^2+3^2+...+n^2=\frac{n(n+1)(2n+1)}{6}$$