26 lines
464 B
Markdown
26 lines
464 B
Markdown
---
|
||
id: 5900f4571000cf542c50ff6a
|
||
title: 问题235:算术几何序列
|
||
challengeType: 5
|
||
videoUrl: ''
|
||
---
|
||
|
||
# --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);
|
||
```
|
||
|
||
# --solutions--
|
||
|