大家有没有兴趣做2月的题目? 题目是解方程, 请进
方程 F(x) = -2 + sin(x) + sin(x^2) + … + sin(x^1000)
1. Find smallest positive root of within a tolerance of 10^(-11).
寻找最小的正解,精度10^(-11).
2. Find the number of roots of the above function within the half-open interval [1.0, 1.5) within a tolerance of 10^(-7).
统计在区间[1.0, 1.5)有多少个解,精度10^(-11).
第2个子题目好像很难 如果要统计真实的解的个数 估计要用到高精度函数库。