![](https://img-blog.csdnimg.cn/20191101191522258.png?x-oss-process=image/resize,m_fixed,h_224,w_224)
微积分
zzb_
这个作者很懒,什么都没留下…
展开
-
定积分计算
Python scipy.integrate.quand import scipy.integrate as integrate import numpy as np if __name__ == '__main__': res = integrate.quad(lambda x: 0.02 * x * np.exp(-0.02 * x), 0, float('inf')) # ...原创 2019-12-17 10:09:49 · 449 阅读 · 0 评论 -
牛顿法
先占个坑, 以后来写讲解 代码实现 求解 f(x)=x^5+2x-1 = 0的解 #include <iostream> #include <cmath> using namespace std; // newtown method double newtown(double (*fun)(double x), double (*deriv)(double x), doub...原创 2019-11-01 19:19:26 · 149 阅读 · 0 评论