We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5cd94d8 commit af5d82bCopy full SHA for af5d82b
Maths/PythagoreanTheorem.js
@@ -12,13 +12,13 @@ const calcHypothenuse = (side1, side2) => {
12
return hypothenuse
13
}
14
/**
15
- * @function calcOtherSides
+ * @function calcOtherSide
16
* @description Calculate the length of other sides of triangle
17
* @param {Integer} hypothenuse - Integer
18
* @param {Integer} side1 - Integer
19
* @return {Integer} - side2
20
- * @see [calcOtherSides](https://en.wikipedia.org/wiki/Pythagorean_theorem)
21
- * @example calcOtherSides(4, 3) = 2
+ * @see [calcOtherSide](https://en.wikipedia.org/wiki/Pythagorean_theorem)
+ * @example calcOtherSide(4, 3) = 2
22
*/
23
const calcOtherSide = (hypothenuse, side1) => {
24
if (side1 >= hypothenuse) {
@@ -30,5 +30,5 @@ const calcOtherSide = (hypothenuse, side1) => {
30
31
export {
32
calcHypothenuse,
33
- calcOtherSides,
+ calcOtherSide,
34
AltStyle によって変換されたページ (->オリジナル) / アドレス: モード: デフォルト 音声ブラウザ ルビ付き 配色反転 文字拡大 モバイル
0 commit comments