43 lines
650 B
Markdown
43 lines
650 B
Markdown
---
|
||
id: 5900f4571000cf542c50ff6a
|
||
title: 问题235:算术几何序列
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
dashedName: problem-235-an-arithmetic-geometric-sequence
|
||
---
|
||
|
||
# --description--
|
||
|
||
给定是算术几何序列u(k)=(900-3k)rk-1。设s(n)=Σk= 1 ... nu(k)。
|
||
|
||
找到r的值,其中s(5000)= - 600,000,000,000。
|
||
|
||
将您的答案四舍五入到小数点后面的12位。
|
||
|
||
# --hints--
|
||
|
||
`euler235()`应该返回1.002322108633。
|
||
|
||
```js
|
||
assert.strictEqual(euler235(), 1.002322108633);
|
||
```
|
||
|
||
# --seed--
|
||
|
||
## --seed-contents--
|
||
|
||
```js
|
||
function euler235() {
|
||
|
||
return true;
|
||
}
|
||
|
||
euler235();
|
||
```
|
||
|
||
# --solutions--
|
||
|
||
```js
|
||
// solution required
|
||
```
|