Placement AptitudeHardTCS NQT · Infosys · Capgemini pattern

If a + b = 10 and ab = 21, what is the value of a^3 + b^3?

  1. A. 370
  2. B. 1000
  3. C. 310
  4. D. 430

Correct answer: A. 370

a^3 + b^3 = (a + b)^3 - 3ab(a + b) = 1000 - 3 x 21 x 10 = 370.

More Advanced Quantitative Ability (Placement) questions

Exams that ask this topic