Files
freeCodeCamp/curriculum/challenges/spanish/08-coding-interview-prep/project-euler/problem-235-an-arithmetic-geometric-sequence.spanish.md
2018-10-11 02:15:05 +05:30

1.0 KiB

id, challengeType, title, videoUrl, localeTitle
id challengeType title videoUrl localeTitle
5900f4571000cf542c50ff6a 5 Problem 235: An Arithmetic Geometric sequence Problema 235: Una secuencia geométrica aritmética

Description

Dada es la secuencia aritmético-geométrica u (k) = (900-3k) rk-1. Sea s (n) = Σk = 1 ... nu (k).

Encuentra el valor de r para el cual s (5000) = -600,000,000,000.

Da tu respuesta redondeada a 12 lugares detrás del punto decimal.

Instructions

Tests

tests:
  - text: <code>euler235()</code> debe devolver 1.002322108633.
    testString: 'assert.strictEqual(euler235(), 1.002322108633, "<code>euler235()</code> should return 1.002322108633.");'

Challenge Seed

function euler235() {
  // Good luck!
  return true;
}

euler235();

Solution

// solution required