⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 p12_16.m

📁 Advanced Engineering Mathematics using MATLAB by Harman, Dabney, Richert,书中全部源码
💻 M
字号:
% Problems 12.16, 12.17%  Use trapezoidal integration toformat longerrorf=erf(1)% Trapezoid rule, 5 pointsx=linspace(0,1,5);y=(2/sqrt(pi))*exp(-x.^(2));errortrap= trapz(x,y)%% Modify the script to compute the actual error and%  display it with comments on the screen. %%  Increase the number of points and determine the accuracy.%

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -