Home > Backend Development > PHP Tutorial > 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
Release: 2016-08-04 09:19:22
Original
1391 people have browsed it

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.

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template