代码搜索:Simpson

找到约 618 项符合「Simpson」的源代码

代码结果 618
www.eeworm.com/read/116723/14957279

c jifen.c

#include #include double trapezia(double a,double b,double (*fun)(double),int n) { double Tn=0.0; double h; int k; h=(b-a)/n; for(k=1;k
www.eeworm.com/read/210675/15193552

ma alg043.ma

(* ADAPTIVE QUADRATURE ALGORITHM 4.3 * * To approximate I=integral ( ( f(x) dx ) ) from a * to b within a given tolerance TOL: * * INPUT: endpoints a, b; tolerance TOL; * limit N to nu
www.eeworm.com/read/471742/6888646

m moment_sdisk.m

%moment_sdisk.m clear; f=inline('x.^2.*(1-x.^2).^(0.5)*4/pi'); %define the integrand J=quad(f,0.0,1.0,1.e-5); %Simpson quadrature integration fprintf('The integral is %4.3f',J);
www.eeworm.com/read/416348/10002379

cpp ep10_4.cpp

/*10.4 在【例8.9】中,当被积函数中出现被0除现象时,应抛出一个异常,但不退出主函数, 可进行下一个定积分计算。*/ #include #include #include//采用C++标准库中的异常类 #include #include using namespace std; con
www.eeworm.com/read/360770/10078774

m e781.m

%------------------------------------------------------------------ % Example 7.8.1: Two-Dimensional Integral %-------------------------------------------------------------
www.eeworm.com/read/360770/10078896

m e741.m

%------------------------------------------------------------------ % Example 7.4.1: Newton-Cotes Formulas %------------------------------------------------------------------ clc clear
www.eeworm.com/read/245198/7123966

m exp6_1.m

% exp6_1.m --- 学习数值积分命令 % [1] -------- 自适应Simpson积分法 -------- % [简介] quad 命令是递归自适应Simpson积分法(recursive adaptive Simpson quadrature). % 这是最常用的命令 % 所谓自适应就是程序自动判别函数的变化情况,在变化剧烈的地方,
www.eeworm.com/read/141297/5773849

am makefile.am

# # Copyright 2002 Free Software Foundation, Inc. # # This file is part of GNU Radio # # GNU Radio is free software; you can redistribute it and/or modify # it under the terms of the GNU General Pub
www.eeworm.com/read/404347/11487001

cpp 1.cpp

#include #include #include using namespace std; #define pi 3.14159 int m,n,p; double a(double theta)//theta的下标 { double y; y=0; return y; } double b(doub