freeCodeCamp/curriculum/challenges/chinese/10-coding-interview-prep/project-euler/problem-235-an-arithmetic-geometric-sequence.md
2020-09-29 22:09:05 +02:00

57 lines
935 B
Markdown
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

---
id: 5900f4571000cf542c50ff6a
challengeType: 5
title: 'Problem 235: An Arithmetic Geometric sequence'
videoUrl: ''
localeTitle: 问题235算术几何序列
---
## Description
<section id="description">给定是算术几何序列uk=900-3krk-1。设sn=Σk= 1 ... nuk<p>找到r的值其中s5000= - 600,000,000,000。 </p><p>将您的答案四舍五入到小数点后面的12位。 </p></section>
## Instructions
<section id="instructions">
</section>
## Tests
<section id='tests'>
```yml
tests:
- text: <code>euler235()</code>应该返回1.002322108633。
testString: assert.strictEqual(euler235(), 1.002322108633);
```
</section>
## Challenge Seed
<section id='challengeSeed'>
<div id='js-seed'>
```js
function euler235() {
// Good luck!
return true;
}
euler235();
```
</div>
</section>
## Solution
<section id='solution'>
```js
// solution required
```
/section>