Home  >  Article  >  Backend Development  >  Is there a similar way to calculate the Σ summation formula in PHP or MySQL?

Is there a similar way to calculate the Σ summation formula in PHP or MySQL?

WBOY
WBOYOriginal
2016-08-04 09:19:221359browse

Is there a similar way to calculate the Σ summation formula in PHP or MySQL?

As shown in the picture: knowing N, find X. Thank you~

Reply content:

Is there a similar way to calculate the Σ summation formula in PHP or MySQL?

As shown in the picture: knowing N, find X. Thank you~

PHPExcel has an IRR function to find the internal rate of return

PHP and MySQL (SQL statement) both have the sum() function.

First use the arithmetic sequence summation formula to simplify it, and then just pick any numerical algorithm for approximation.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn