正在加载图片...
(2)编写一个求圆的面积的函数文件。 function s=area(r) AREA For calculating the area of a round area. m s=pi*r 2 (3)编写一个求圆的面积的命令文件 Radius=input(Please input the radius: ' Area=piaRadius 2( 2)编写一个求圆的面积的函数文件。 function s=area(r) % AREA For calculating the area of a round . % area.m s=pi*r^2; ( 3)编写一个求圆的面积的命令文件 Radius=input('Please input the radius: '); Area=pi*Radius^2;
<<向上翻页
©2008-现在 cucdc.com 高等教育资讯网 版权所有