微积分的数值计算函数,包括: double composite_simpson(double(*f)(double),double a,double b,int...
微积分的数值计算函数,包括: double composite_simpson(double(*f)(double),double a,double b,int n) double romberg(double(*f)(double),double a,double b,double eps,int max_it) double gauss_legendre(double(*f)(double),double a,double b) double central_difference(double(*f)(double),double a, double h,double eps, int max_it) double runge_kuta(double(*f)(double,double),double x[],double y[],double h,int n) double proved_euler(double(*f)(double,double),double x[],double y[],double h,int n) double adams(double(*f)(double,double),double x[], double y[],double h,int n) double montecar(double(*f)(double),double a,double b,double ub,double eps,int k,int n) float uniform_random()-calculus numerical calculation functions, including : double composite_simpson (double (* f) (double), a double, double b, int n) double Romberg (double (* f) (double), a double, double b, double eps, int max_it) double gauss_legendre (double (* f) (double), a double, double b) double central_difference (double (* f) (double), a d
- 2022-10-24 10:40:02下载
- 积分:1
mission : participation in the Games is n, the school No. 1 ... n. Competition i...
任务:参加运动会有n个学校,学校编号为1……n。比赛分成m个男子项目,和w个女子项目。项目编号为男子1……m,女子m+1……m+w。不同的项目取前五名或前三名积分;取前五名的积分分别为:7、5、3、2、1,前三名的积分分别为:5、3、2;哪些取前五名或前三名由学生自己设定。(m=10 , w=8 , n=15)
功能要求:
1). 可以输入各个项目的前三名或前五名的成绩;
2).能统计各学校总分(用链表);
3).可以按学校编号、学校总分、男女团体总分排序输出(快速、基数);
4). 可按学校编号查询学校某个项目的情况;可按项目编号查询取得前三或前五名的学校。
界面要求:有合理的提示,每个功能可以设立菜单,根据提示,可以完成相关的功能要求。
b)概要设计:
本程序所使用的数据结构是二维数祖和线形链表。
所使用的算法有:快速、基数、归并排序等。-mission : participation in the Games is n, the school No. 1 ... n. Competition is divided into men m, and w-woman project. Item No. 1 man ... m, a woman m m w .... Different items from the top five or top three integration; From the top five points were : 7,5,3,2,1, and the top three points were : red; From what the top five or top three, set by the students themselves. (M = 10, w = 8, n = 15) functional requirements : 1). The importation of various items in the top three or top five results; 2). Statistics schools score (with Chain); 3). According No. schools, the school scores and scores of men a
- 2023-07-03 17:10:03下载
- 积分:1