如何使用梯形法计算定积分,其中a = 0,b = 1,被积函数为sin(x) e^x,积分区间等分

学习 时间:2026-09-28 17:47:43 阅读:4668
如何使用梯形法计算定积分,其中a = 0,b = 1,被积函数为sin(x) e^x,积分区间等分

最佳回答

迅速的花生

壮观的小鸭子

2026-09-28 17:47:43

%matlab程序format longy=inline('sin(x)。*exp(x)');quad(y,0,1)ans = 0。909330672042376#include#include"math。h"#define exp 2。718281828void main(){ long int n=1000,i; float temp,sum=0,delta=1。0/n; for(i=0;i

最新回答共有2条回答

  • 迷路的小丸子
    回复
    2026-09-28 17:47:43

    %matlab程序format longy=inline('sin(x)。*exp(x)');quad(y,0,1)ans = 0。909330672042376#include#include"math。h"#define exp 2。718281828void main(){ long int n=1000,i; float temp,sum=0,delta=1。0/n; for(i=0;i

上一篇 life,that one of the most reluctant,always hidde

下一篇 求不定积分 ∫dx/√5-2x-x^2