--- id: 5900f4571000cf542c50ff6a title: 'Problema 235: Uma sequência geométrica aritmética' challengeType: 5 forumTopicId: 301879 dashedName: problem-235-an-arithmetic-geometric-sequence --- # --description-- Você é informado de que a sequência aritmética geométrica $u(k) = (900 - 3k)r^{k - 1}$. Considere $s(n) = \sum_{k=1 \ldots n} u(k)$. Encontre o valor de $r$ para o qual $s(5000) = -600.000.000.000$. Dê sua resposta arredondada para 12 casas depois da vírgula. # --hints-- `arithmeticGeometricSequence()` deve retornar `1.002322108633`. ```js assert.strictEqual(arithmeticGeometricSequence(), 1.002322108633); ``` # --seed-- ## --seed-contents-- ```js function arithmeticGeometricSequence() { return true; } arithmeticGeometricSequence(); ``` # --solutions-- ```js // solution required ```