I want to solve the following system of two equations for $u$ and $v$ but can't figure out how to input it into WolframAlpha. $$ \sum_{i=1}^{n} \frac{x_i-u}{v} = 0 $$ $$ -\frac{n}{2v}+\sum_{i=1}^{n} \frac{(x_i-u)^2}{2v^2} = 0 $$
The results I try to get from WA are $$u = \frac{1}{n} \sum_{i=1}^n x_i$$ $$v = \frac{1}{n} \sum_{i=1}^n (x_i - u)^2$$
These are done by hand but want to know how to solve similar equations with WA.
The problems are that I don't know how to write the $x_i$ (x_i in $\LaTeX$) and also don't know how to input the system of two equations. I know I can do this: https://www.wolframalpha.com/input/?i=system+of+two+equations and input them there, but then I can't specify what to solve them for.