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

📄 test_quadg.m

📁 工具箱 (数值积分工具箱) matlab 中使用
💻 M
字号:
f=quad('sin',0,pi), correct_ans=2f=quad8('sin',0,pi), correct_ans=2f=quadg('sin',0,pi), correct_ans=2f=quadg('sin',0,pi,1e-13), correct_ans=2  % with tighter tolerencef=quadg('fxpow',0,2,[],[],1), correct_ans=2f=quadg('fxpow',0,2,[],[],2), correct_ans=8/3zero_count;f=quad('fxpow',0,2,[],[],3), correct_ans=4num_functs_in_quad =zero_countf=quad8('fxpow',0,2,[],[],3), correct_ans=4num_functs_in_quad8 =zero_countf=quadg('fxpow',0,2,[],[],3), correct_ans=4num_functs_in_quadq =zero_countdisp('quadg has lowest number of function calls')f=quad('fxpow',0,2,[],[],4), correct_ans=32/5f=quad8('fxpow',0,2,[],[],4), correct_ans=32/5f=quadg('fxpow',0,2,[],[],4), correct_ans=32/5f=quadg('fxpow',0,2,[],[],5), correct_ans=32/3f=quadg('fxpow',0,2,[],[],6), correct_ans=128/7f=quadg('fxpow',0,2,[],[],7),correct_ans=32f=quadg('fxpow',0,2,[],[],8),correct_ans=512/9f=quadg('fxpow',0,2,[],[],9),correct_ans=512/5f=quad8('fxpow',0,2,[],[],10),correct_ans=2048/11f=quadg('fxpow',0,2,[],[],10),correct_ans=2048/11

⌨️ 快捷键说明

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