-
Rectangle
根据输入的长宽,计算Rectangle面积周长等功能,并画出在txt文件中(Rectangle
Create a class Rectangle with attributes length and width, each of which defaults to
1
a. Provide member functions that calculate the perimeter and the area of the rectangle.
b. Also provide set and get functions for the length and width attributes. The set
functions should verify that length and width are each integer numbers larger than 0
and less than 20.
c. Write draw function to display the Rectangle:
in Assignment1. )
d. Write a driver program to test class Rectangle.)
- 2012-10-24 23:54:51下载
- 积分:1
-
erfenfa
二分法,用于多项式求解,迭代12次能达到很高的精度(Dichotomy for polynomial solving, iterative 12 times to achieve high precision)
- 2008-01-25 19:58:10下载
- 积分:1
-
3107002005_5th_spline
说明: 曲线的三次样条插值,在非首尾节点处具有三次光滑性质(Curve cubic spline interpolation, in both nodes with non-smooth nature of the three)
- 2008-10-27 11:07:08下载
- 积分:1
-
mass-5
fluent模拟焊接,熔滴过渡的质量源项(Welding Simulation, mass source)
- 2020-07-02 21:00:01下载
- 积分:1
-
LGKT4
四阶龙格库塔法解一阶二元微分方程 应用于数值计算(Fourth-order Runge-Kutta method for solving a class of binary differential equations for numerical calculation)
- 2010-06-29 11:55:57下载
- 积分:1
-
Least-squares-linear
可进行最小二乘法线性拟合输出,包含源代码及生成后的程序(Least-squares linear fit can be output)
- 2013-10-24 14:21:45下载
- 积分:1
-
Romberg
数值分析,即计算方法课程中的龙贝格算法源代码。(Numerical analysis, calculation of the Romberg algorithm source code in the methods courses.)
- 2012-05-30 22:54:48下载
- 积分:1
-
brick
有限元n维实体材料单元,仅供科研用途,拒绝商业使用(N-dimensional finite element solid material element, for scientific purposes, refusing commercial use)
- 2013-10-23 14:32:13下载
- 积分:1
-
Desktop
弗洛伊德算法最短距离的实现,输入为邻接矩阵,输出为最短距离矩阵。(Freud' s realization of the algorithm for the shortest distance, enter the adjacency matrix output for the shortest distance matrix.)
- 2012-09-02 15:12:56下载
- 积分:1
-
cPPpolyfit
多项式拟合,最小二乘法,c++版本实现,运行环境vc6(Polynomial fitting)
- 2013-04-29 10:37:54下载
- 积分:1