chore(i8n,learn): processed translations

This commit is contained in:
Crowdin Bot
2021-02-06 04:42:36 +00:00
committed by Mrugesh Mohapatra
parent 15047f2d90
commit e5c44a3ae5
3274 changed files with 172122 additions and 14164 deletions

View File

@ -1,24 +1,30 @@
---
id: 594da033de4190850b893874
title: 平均值 - 均方根
title: Averages/Root mean square
challengeType: 5
videoUrl: ''
forumTopicId: 302228
dashedName: averagesroot-mean-square
---
# --description--
<p>计算数字1到10包括1和10<a href='https://en.wikipedia.org/wiki/Root mean square' title='wp均方根'>均方根</a></p><p>均方根也以其首字母RMS或rms和二次均值来表示。 </p><p> RMS计算为数字平方的平均值平方根 </p><p> <big>$$ x _ {\ mathrm {rms}} = \ sqrt {{{x_1} ^ 2 + {x_2} ^ 2 + \ cdots + {x_n} ^ 2} \ over n}。 $$</big> </p>
Compute the [Root mean square](https://en.wikipedia.org/wiki/Root mean square "wp: Root mean square") of the numbers 1 through 10 inclusive.
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:
$$x\_{\\mathrm{rms}} = \\sqrt {{{x_1}^2 + {x_2}^2 + \\cdots + {x_n}^2} \\over n}. $$
# --hints--
`rms`是一个功能。
`rms` should be a function.
```js
assert(typeof rms === 'function');
```
`rms([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])`应等于`6.2048368229954285`
`rms([1, 2, 3, 4, 5, 6, 7, 8, 9, 10])` should equal `6.2048368229954285`.
```js
assert.equal(rms(arr1), answer1);