ex12_8.m

来自「Advanced Engineering Mathematics using M」· M 代码 · 共 11 行

M
11
字号
% EX12_8.M Perform 2D symbolic integration of the function%   x*sin(y)+y*cos(x) over fixed limits%     pi < y < 2pi, 0 < x < piinty=int('x*sin(y)+y*cos(x)','y',pi,2*pi) % Inner integralintx=int(inty,'x',0,pi)                   % Outer integraltwodint=numeric(intx)                % Convert to a number%% Modify the script to allow input of arbitrary functions%  and arbitrary integration limits%

⌨️ 快捷键说明

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