【牛顿迭代法】C++实现

#include <cstdio> #include <cstdlib> #include <iostream> #include <time.h> #include <math.h> using namespace std; double f(double x) { return x+exp(x)-2; } double df(double x) { return 1+exp(
相关文章
相关标签/搜索