Files
freeCodeCamp/curriculum/challenges/english/10-coding-interview-prep/project-euler/problem-317-firecracker.md
Oliver Eyton-Williams ee1e8abd87 feat(curriculum): restore seed + solution to Chinese (#40683)
* feat(tools): add seed/solution restore script

* chore(curriculum): remove empty sections' markers

* chore(curriculum): add seed + solution to Chinese

* chore: remove old formatter

* fix: update getChallenges

parse translated challenges separately, without reference to the source

* chore(curriculum): add dashedName to English

* chore(curriculum): add dashedName to Chinese

* refactor: remove unused challenge property 'name'

* fix: relax dashedName requirement

* fix: stray tag

Remove stray `pre` tag from challenge file.

Signed-off-by: nhcarrigan <nhcarrigan@gmail.com>

Co-authored-by: nhcarrigan <nhcarrigan@gmail.com>
2021-01-12 19:31:00 -07:00

43 lines
887 B
Markdown

---
id: 5900f4aa1000cf542c50ffbc
title: 'Problem 317: Firecracker'
challengeType: 5
forumTopicId: 301973
dashedName: problem-317-firecracker
---
# --description--
A firecracker explodes at a height of 100 m above level ground. It breaks into a large number of very small fragments, which move in every direction; all of them have the same initial velocity of 20 m/s.
We assume that the fragments move without air resistance, in a uniform gravitational field with g=9.81 m/s2.
Find the volume (in m3) of the region through which the fragments move before reaching the ground. Give your answer rounded to four decimal places.
# --hints--
`euler317()` should return 1856532.8455.
```js
assert.strictEqual(euler317(), 1856532.8455);
```
# --seed--
## --seed-contents--
```js
function euler317() {
return true;
}
euler317();
```
# --solutions--
```js
// solution required
```