代码搜索:Newton-Cotes
找到约 11 项符合「Newton-Cotes」的源代码
代码结果 11
www.eeworm.com/read/449127/7517994
m newtcotes.m
%
% newtcotes.m
%
% Compute the weights of the Newton-Cotes quadrature quadrature
% on [0,1] with equidistant nodes.
%
%
n = input(' Number n+1 of quadrature nodes n = ');
% nodes
h = 1/n;
x = (0:
www.eeworm.com/read/409626/11317633
m cncqf.m
function [s, w, x] = cNCqf(fun, a, b, n, varargin)
% Numerical approximation s of the definite integral of
% f(x). fun is a string containing the name of the integrand f(x).
% Integration is o
www.eeworm.com/read/409626/11317681
m cncqf.m
function [s, w, x] = cNCqf(fun, a, b, n, varargin)
% Numerical approximation s of the definite integral of
% f(x). fun is a string containing the name of the integrand f(x).
% Integration is o
www.eeworm.com/read/360770/10078896
m e741.m
%------------------------------------------------------------------
% Example 7.4.1: Newton-Cotes Formulas
%------------------------------------------------------------------
clc
clear
www.eeworm.com/read/302298/13838081
asv m5_2.asv
%%%%%%%%% Newton_Cotes Formula %%%%%%%%%%
fprintf('\n Newton-Cotes Formula\n');
n=input('Number of data points(2-8)?');
a=input('Lower limit of integration:');
b=input('Upper limit of integratio
www.eeworm.com/read/302298/13838082
m m5_2.m
%%%%%%%%% Newton_Cotes Formula %%%%%%%%%%
fprintf('\n Newton-Cotes Formula\n');
n=input('Number of data points(2-8)?');
a=input('Lower limit of integration:');
b=input('Upper limit of integratio
www.eeworm.com/read/389070/6353143
asv m5_2.asv
%%%%%%%%% Newton_Cotes Formula %%%%%%%%%%
fprintf('\n Newton-Cotes Formula\n');
n=input('Number of data points(2-8)?');
a=input('Lower limit of integration:');
b=input('Upper limit of integratio
www.eeworm.com/read/389070/6353144
m m5_2.m
%%%%%%%%% Newton_Cotes Formula %%%%%%%%%%
fprintf('\n Newton-Cotes Formula\n');
n=input('Number of data points(2-8)?');
a=input('Lower limit of integration:');
b=input('Upper limit of integratio
www.eeworm.com/read/375515/2724149
asv m5_2.asv
%%%%%%%%% Newton_Cotes Formula %%%%%%%%%%
fprintf('\n Newton-Cotes Formula\n');
n=input('Number of data points(2-8)?');
a=input('Lower limit of integration:');
b=input('Upper limit of integratio
www.eeworm.com/read/375515/2724150
m m5_2.m
%%%%%%%%% Newton_Cotes Formula %%%%%%%%%%
fprintf('\n Newton-Cotes Formula\n');
n=input('Number of data points(2-8)?');
a=input('Lower limit of integration:');
b=input('Upper limit of integratio