-
areaofcircle
一圆形游泳池如图所示,现在需在其周围建一圆形过道,并在其四周围上栅栏。
栅栏价格为35元/米,过道造价为20元/平方米。
过道宽度为3米,
游泳池半径由键盘输入。
要求编程计算并输出过道和栅栏的造价。(A circular pool as shown in figure, now in its built around to a circular corridor, and in its 4 around on the fence.
The fence for 35 yuan/m price, corridor cost for 20 yuan/square metre.
Aisle width is 3 meters,
The radius of the swimming pool by keyboard input.
Demand and output programming calculation of corridor and the cost of the fence.
)
- 2012-04-06 11:29:01下载
- 积分:1
-
KMEANS
This directory contains code implementing the K-means algorithm. Source code
may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS
program accepts input consisting of vectors and calculates the given
number of cluster centers using the K-means algorithm. Output is
directed to the screen.
Usage for KMEANS is:
KMEANS SOURCEFILE <enter>
The format of the source file is:
NPat - Number of patterns (int)
SizeVect - Size of vector (int)
NClust - Number of cluster centers(int)
vect[1,1] ... vect[1,SizeVect] - vector 1 (real)
vect[2,1] ... vect[2,SizeVect] - vector 2 (real)
. .
. .
. .
vect[NPat,1] ... vect[NClust,SizeVector] - vector N (real)
To compile:
ICC KMEANS.CPP <enter>
(This directory contains code implementing the K-means algorithm. Source code
may be found in KMEANS.CPP. Sample data isfound in KM2.DAT. The KMEANS
program accepts input consisting of vectors and calculates the given
number of cluster centers using the K-means algorithm. Output is
directed to the screen.
Usage for KMEANS is:
KMEANS SOURCEFILE <enter>
The format of the source file is:
NPat - Number of patterns (int)
SizeVect - Size of vector (int)
NClust - Number of cluster centers(int)
vect[1,1] ... vect[1,SizeVect] - vector 1 (real)
vect[2,1] ... vect[2,SizeVect] - vector 2 (real)
. .
. .
. .
vect[NPat,1] ... vect[NClust,SizeVector]- vector N (real)
To compile:
ICC KMEANS.CPP <enter>
)
- 2013-01-05 23:11:23下载
- 积分:1
-
Calculator
Visual C++6.0 实现的多功能计算器(Visual C++6.0 achieve the multi-function calculator)
- 2012-05-29 15:50:21下载
- 积分:1
-
fft
对机械中的振动信号进行傅立叶变换,作出频谱图进行分析。(Fourier transform of the vibration signal)
- 2009-10-19 19:01:34下载
- 积分:1
-
fluid-1
说明: 气泡上浮实验,基于fluent的二维模型(Bubble Floating Experiment)
- 2019-03-28 21:16:57下载
- 积分:1
-
fluid-1
气泡上浮实验,基于fluent的二维模型(Bubble Floating Experiment)
- 2019-03-28 21:16:57下载
- 积分:1
-
Program
矩阵转换问题
行与列的个数均为n 的矩阵称为n 阶方阵。假定矩阵中的每个元素的值在0到9之间,则可以将矩阵中的所有元素按行依次排列得到一个“单行矩阵字符串”。(Matrix conversion, the number of rows and columns of the matrix n are called n-order square. Assume that each element of matrix value in the 0 to 9, you can press all the elements of the matrix rows in order of priority for a " single matrix string." )
- 2010-12-28 11:42:08下载
- 积分:1
-
ooptest
C++实现的FFT,详细,简单,内含多个测试类(using C++ implements fft,including serials class)
- 2013-12-12 23:22:05下载
- 积分:1
-
free-cfd-1.0.1
一个通用的CFD求解器,代码结构清楚,简洁,适用于开发自己的CFD程序。(A general of CFD solver, the code structure is clear, concise, applicable to the development of the CFD program.)
- 2020-10-08 00:07:38下载
- 积分:1
-
21
说明: 用C语言编写多元线性回归方程,写得不好的地方请指教!(Using C language multiple linear regression equation, where poorly written, please advice!)
- 2010-06-06 17:04:50下载
- 积分:1