Averages/Root mean square: Difference between revisions
Content deleted Content added
m added whitespace before the TOC (table of contents), used a larger font to show the formula to make it easier to read the italics and super- and subscripts, fixed a misspelling (a plural). |
|||
Line 1: | Line 1: | ||
{{task}} |
{{task}} |
||
Compute the [[wp:Root mean square|Root mean square]] of the numbers 1..10. |
Compute the [[wp:Root mean square|Root mean square]] of the numbers 1..10. |
||
The root mean square is also known by its |
The root mean square is also known by its initials RMS (or rms), and as the '''quadratic mean'''. |
||
The RMS is calculated as the mean of the squares of the numbers, square-rooted: |
The RMS is calculated as the mean of the squares of the numbers, square-rooted: |
||
⚫ | |||
<big><big> |
|||
⚫ | |||
</big></big> |
|||
Cf. [[Averages/Pythagorean means]] |
Cf. [[Averages/Pythagorean means]] |
||
<br><br> |
|||
=={{header|Ada}}== |
=={{header|Ada}}== |
||
<lang Ada>with Ada.Float_Text_IO; use Ada.Float_Text_IO; |
<lang Ada>with Ada.Float_Text_IO; use Ada.Float_Text_IO; |