文件名称:W14N1
-
所属分类:
- 标签属性:
- 上传时间:2015-01-14
-
文件大小:863byte
-
已下载:0次
-
提 供 者:
-
相关连接:无下载说明:别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容来自于网络,使用问题请自行百度
1.W14N1.m是一个函数文件,以下是它已有功能的描述:它最多有3个输入量。该函数具有以下功能:(A)如果输入量个数为0,则用蓝色虚线画出半径为3的圆。(B)如果输入了边的个数N,则用蓝色虚线画出N边形,其外接圆的半径为3。(C)如果输入了边的个数N、外接圆半径R,则用蓝色虚线画出外接圆半径为R的正N边形。(D)如果输入了边的个数N、外接圆半径R、线型str,则用给定的线型str画出内切圆半径为R的红色正N边形。
请在原文件中添加代码以完成以下要求:1)当输出量为1个时,这个输出是正多边形(或圆——输入量为0)的面积,并在画出的图中标注其面积。2)当输出量为2个时,第一个输出量的描述同1),第二个输出量是正多边形(圆)的周长,并在画出的图中标注其周长。-1.W14N1.m is a function of a document, the following is its existing function descr iption: it has at most 3 inputs. This function has the following functions: (A) if the input number is 0, with the blue dotted line draw a circle of radius 3. (B) if the input is the number of edges of N, with the blue dotted line draw N edge shape, its circumcircle radius of 3. (C) if the input side of a number N, the radius of circumcircle R, with blue dotted line draw the radius of circumcircle is positive N R edge shape. (D) if the input side of a number N, the radius of circumcircle R, type STR, with a given linear STR draw the inscribed circle radius R is a red N edge shape.
Add code in the original documents to complete the following requirements: 1) when the output is 1, the output is a regular polygon (or round input 0) area, and mark the area in the pictures in. 2) when the output is 2, the first output with a descr iption of the 1), the second output is regular polygon (round) the perimeter,
请在原文件中添加代码以完成以下要求:1)当输出量为1个时,这个输出是正多边形(或圆——输入量为0)的面积,并在画出的图中标注其面积。2)当输出量为2个时,第一个输出量的描述同1),第二个输出量是正多边形(圆)的周长,并在画出的图中标注其周长。-1.W14N1.m is a function of a document, the following is its existing function descr iption: it has at most 3 inputs. This function has the following functions: (A) if the input number is 0, with the blue dotted line draw a circle of radius 3. (B) if the input is the number of edges of N, with the blue dotted line draw N edge shape, its circumcircle radius of 3. (C) if the input side of a number N, the radius of circumcircle R, with blue dotted line draw the radius of circumcircle is positive N R edge shape. (D) if the input side of a number N, the radius of circumcircle R, type STR, with a given linear STR draw the inscribed circle radius R is a red N edge shape.
Add code in the original documents to complete the following requirements: 1) when the output is 1, the output is a regular polygon (or round input 0) area, and mark the area in the pictures in. 2) when the output is 2, the first output with a descr iption of the 1), the second output is regular polygon (round) the perimeter,
(系统自动生成,下载前可以参看下载内容)
下载文件列表
W14N1.m
本网站为编程资源及源代码搜集、介绍的搜索网站,版权归原作者所有! 粤ICP备11031372号
1999-2046 搜珍网 All Rights Reserved.