搜索资源列表
femod1
- FEMOD1 is an interactive program for the setup, solution, and printout of a two point boundary value problem in a one dimensional region. The finite element method is used. The differential equation has the form: -d/dX ( K(X) dU/dX ) + C(
femod2
- FEMOD2 is an interactive program for the setup, solution, and printout of a boundary value problem in a two dimensional region. The finite element method is used. -FEMOD2 is an interactive program for the setup, solution, and printout of a boundary v
018
- 根据盘子分苹果。N(宏)个盘子排成一圈,其中每个盘子中有pn(输入)个苹果,对每一个盘子把pn个苹果平均分成两部分pn/2,分别放到其左右两边的盘子里,如果pn/2不是整数则把(pn+1)/2放到左边,(pn-1)/2放到右边。最后打印每个盘子中的苹果数。要求使用带数组参数的函数完成分配过程,并练习使用条件编译打印输出中间结果。-According to the plates divide the apples. N (macro) a dish lined up in a circle, ea
Insert-and-delete-the-linear-form
- 程序依次实现以下功能:(1)定义一个有序(非递减)线性表,其最大容量为 1000,初始时为空。 (2)从由 1 产生的数据文件中依次取前 N 个随机整数,陆续插入到此线性表中,并要求在每次插入后保持线性表的有序性。最后将此有序线性表打印输出。 (3) 在由(2)产生的线性表中,依在 1中产生的次序逐个将元素删除,直至表空为止。 -Program in order to achieve the following functions: (1) the definition of