Averages/Root mean square: Difference between revisions
Content added Content deleted
m (1 + seems to be clearer than increment, here) |
|||
Line 70: | Line 70: | ||
6.204837 |
6.204837 |
||
</pre> |
</pre> |
||
=== |
===Avoiding a loop=== |
||
Using these equations:<br> |
Using these equations:<br> |
||
<math>\sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}</math> See [[wp:List of mathematical series]]<br><br> |
<math>\sum_{i=1}^n i^2 = \frac{n(n+1)(2n+1)}{6}</math> See [[wp:List of mathematical series]]<br><br> |