-
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
-
bubble-dynamic-mesh
气泡根据内外压力差变化的动网格。。。。。。(bubble dynamic mesh )
- 2014-02-10 15:52:37下载
- 积分:1
-
cx
说明: 在科学与工程计算中,经常遇到求解非线性方程组的问题;非线性方程组在收敛速度及收敛性比线性方程组要差,特别对于非凸的非线性方程组,其求解更是困难。下面简要介绍非线性方程组的三种解法——牛顿法、拟牛顿法、同伦算法,分析三种解法的适用性,并附Matlab原程序。(Scientific and engineering computing, often encounter the problem of solving nonlinear equations speed of convergence of nonlinear equations and linear equations worse than convergence, especially for non-convex nonlinear equations, which is even more difficult to solve . The following briefly describes three solutions to nonlinear equations- Newton method, quasi-Newton method, homotopy method, the applicability of the three solutions, along with Matlab original program.)
- 2016-03-12 10:57:01下载
- 积分:1
-
特别篇 mesh网格剖分
说明: 适合初学者学习的fluent网格划分以及udf动网格(A fluent udf example)
- 2020-05-17 19:53:33下载
- 积分:1
-
2D-TM
2维的FDTD C程序(2-dimensional FDTD C procedures)
- 2008-05-05 07:34:54下载
- 积分:1
-
Gmsh-4.0.6-source
经典的三维有限元网格生成程序全套源代码及配套的前处理、后处理程序。用C++和Fortran开发。同时配有Manual使用手册。(a three-dimensional finite element mesh generator with built-in pre- and post-processing facilities, source codes are compiled by C++ and Fortran language, with manual.)
- 2020-12-08 21:29:21下载
- 积分:1
-
标准方腔流动
用来计算流体力学中非常典型的不可压缩方腔流动。包含MATLAB程序绘制流函数图。(It is used to calculate the incompressible flow of a typical square cavity in fluid mechanics. Contains MATLAB programs to draw stream function diagrams.)
- 2017-09-10 18:32:53下载
- 积分:1
-
3107002005_2nd_A_LDL
说明: LDL分解。作为矩阵方程数值解法最基础的矩阵分解算法,LDL算法可以高效分解对称矩阵。(LDL decomposition. Numerical Solution of matrix equation as the most basic matrix factorization algorithm, LDL decomposition algorithm can be efficient symmetric matrix.)
- 2008-10-27 10:47:26下载
- 积分:1
-
zairuzhidiandandao
用来计算航天器再入质点弹道,其中包括插值算法,龙格库塔法以及大气模型(Used to calculate the particle trajectory of spacecraft re-entry, including the interpolation algorithm, Runge-Kutta method as well as atmospheric model)
- 2008-04-27 11:09:17下载
- 积分:1
-
WeiXingxinglijisuan
CSharp用于卫星广播星历计算和精密星历计算(Used for satellite radio star calendar calculation and precision star calendar calculation)
- 2012-06-25 10:50:14下载
- 积分:1