2018-09-30 23:01:58 +01:00
|
|
|
---
|
|
|
|
id: 5900f4f21000cf542c510004
|
|
|
|
title: 'Problem 389: Platonic Dice'
|
2020-11-27 19:02:05 +01:00
|
|
|
challengeType: 5
|
2019-08-05 09:17:33 -07:00
|
|
|
forumTopicId: 302053
|
2021-01-13 03:31:00 +01:00
|
|
|
dashedName: problem-389-platonic-dice
|
2018-09-30 23:01:58 +01:00
|
|
|
---
|
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
# --description--
|
2018-09-30 23:01:58 +01:00
|
|
|
|
2021-07-30 16:59:29 +02:00
|
|
|
An unbiased single 4-sided die is thrown and its value, $T$, is noted.
|
2018-09-30 23:01:58 +01:00
|
|
|
|
2021-07-30 16:59:29 +02:00
|
|
|
$T$ unbiased 6-sided dice are thrown and their scores are added together. The sum, $C$, is noted.
|
|
|
|
|
|
|
|
$C$ unbiased 8-sided dice are thrown and their scores are added together. The sum, $O$, is noted.
|
|
|
|
|
|
|
|
$O$ unbiased 12-sided dice are thrown and their scores are added together. The sum, $D$, is noted.
|
|
|
|
|
|
|
|
$D$ unbiased 20-sided dice are thrown and their scores are added together. The sum, $I$, is noted.
|
|
|
|
|
|
|
|
Find the variance of $I$, and give your answer rounded to 4 decimal places.
|
2018-09-30 23:01:58 +01:00
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
# --hints--
|
2018-09-30 23:01:58 +01:00
|
|
|
|
2021-07-30 16:59:29 +02:00
|
|
|
`platonicDice()` should return `2406376.3623`.
|
2018-09-30 23:01:58 +01:00
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
```js
|
2021-07-30 16:59:29 +02:00
|
|
|
assert.strictEqual(platonicDice(), 2406376.3623);
|
2018-09-30 23:01:58 +01:00
|
|
|
```
|
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
# --seed--
|
2018-09-30 23:01:58 +01:00
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
## --seed-contents--
|
2018-09-30 23:01:58 +01:00
|
|
|
|
|
|
|
```js
|
2021-07-30 16:59:29 +02:00
|
|
|
function platonicDice() {
|
2020-09-15 09:57:40 -07:00
|
|
|
|
2018-09-30 23:01:58 +01:00
|
|
|
return true;
|
|
|
|
}
|
|
|
|
|
2021-07-30 16:59:29 +02:00
|
|
|
platonicDice();
|
2018-09-30 23:01:58 +01:00
|
|
|
```
|
|
|
|
|
2020-11-27 19:02:05 +01:00
|
|
|
# --solutions--
|
2018-09-30 23:01:58 +01:00
|
|
|
|
|
|
|
```js
|
|
|
|
// solution required
|
|
|
|
```
|