Anonymous user
Averages/Root mean square: Difference between revisions
m
→{{header|Mathematica}}
(Added an Algol W sample) |
|||
Line 715:
</pre>
=={{header|Mathematica}} / {{header|Wolfram Language}}==
<lang Mathematica>RootMeanSquare@Range[10]</lang>
The above will give the precise solution <math>\sqrt{\frac{77}{2}}</math>, to downgrade to 6.20484, use '<code>10.</code>' to imply asking for numeric solution, or append '<code>//N</code>' after the whole expression.
|