📄 02-31.txt
字号:
% script m-file example: calculate the volume and surface area of a colume
r=1; % the radius of the colume
h=1; % the hight of the colume
s=2*r*pi*h + 2*pi*r^2; % calculate the surface area
v=pi*r^2*h; % calculate the volume
disp('The surface area of the colume is:'),disp(s);
disp('The volume of the colume is:'),disp(v);
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -