搜索结果
找到约 40 项符合
circle 的查询结果
按分类筛选
Java编程 (1) 实现一个Point类
(1) 实现一个Point类,该类包含表示坐标的两个int型变量x、y,构造方法Point()和Point(int xx, int yy),返回x值和y值的int getX()和int getY()方法,计算两点间距离的double distance(Point)方法。其中计算平方根用Math.sqrt()方法。
(2) 实现一个Circle类,该类包含表示圆心的Point型变量center,表示半径的int radius ...
Java编程 (1) 编写一个代表圆柱体的Cylinder类
(1) 编写一个代表圆柱体的Cylinder类,该类是Circle类的子类。Cylinder类包括圆柱体的高度变量height以及计算圆柱体的体积方法volume()和计算表面积的方法surfaceArea()。
(2) 编写测试Cylinder类的CylinderTest类,并在该类得main方法中调用Cylinder类的相关方法。
(3) 重写Point和Circle类的equals()、toString()方 ...
Java书籍 /*请分别定义图形类Shape(抽象基类)
/*请分别定义图形类Shape(抽象基类),继承类矩形类Rectangle、正方形类Square、
圆形类Circle;它们具有的方法是计算周长和面积。在另一个类的main函数中分别创建矩形、
正方形和圆形对象,设置所需的属性值,打印其周长和面积。*/ ...
Java编程 分别定义图形类Shape(抽象基类)
分别定义图形类Shape(抽象基类),继承类矩形类Rectangle、正方形类Square、
圆形类Circle;并且计算周长和面积。在另一个main函数中分别创建矩形、 正方形和圆形对象,设置所需的属性值,打印其周长和面积。(备注:只要把该文件解压,把里面的东东COPY去即可使用) ...
嵌入式/单片机编程 The software and hardware development fields evolved along separate paths through the end of the 20t
The software and hardware development fields evolved along separate paths through the end of the 20th century. We seem to have come full circle, however. The previously rigid hardware on which our programs run is softening in many ways. Embedded systems are largely responsible for this softening. Th ...
单片机开发 Main program running when workpiece is ready on deferent belt(deferent_ready=ture). * Call Squ
Main program running when workpiece is ready on deferent belt(deferent_ready=ture).
* Call Square_Wave subroutine to generate 0.5ms square wave on P1.2 to drive
* electromotor,then drive deferent belt step forward. When it steps to the measure
* zone, it stops to be me ...
matlab例程 distmesh
matlab有限元网格划分程序
DistMesh is a simple MATLAB code for generation of unstructured triangular and tetrahedral meshes. It was developed by Per-Olof Persson (now at UC Berkeley) and Gilbert Strang in the Department of Mathematics at MIT. A detailed ...
源码 定个Circl
定义一个Circle,有数据成员radius(半径),设计带有默认参数值的构造函数,成员函数setCircle(),getArea(),计算圆的面积,构造一个Circle的对象进行测试。
书籍 Interference Analysis
We were on the lookout for ice.
I was in a 32 foot sailing yacht with writer and explorer Tristan Gooley, undertaking a
double-handed sail from Scotland through the Faroes up to 66 33 45.7 N and the midnight
sun. Now sailing out of the Arctic Circle we were approaching Iceland from the north, headin ...
技术资料 最新FPC生产流程介紹
SMT(Surface mount technology)是可在“板面上”满及焊牢栖多敷“表面黏装零件的電子装配技术.侵贴:1.可在板上雨成同特焊接,封装密度提高50~70%.WW2.l短,提高博输速度3.可使用更高删敷.4.自勤化,快速,成本低.1.表面贴装零件SOIC(small outline integrate circle)RESISTANCE(電阻)CAPACITANCE(電容)AMPLCC(pla ...