数值分析 Numerical Analysis 主讲教师:陈越 Instructor: CHEN YUe E-mail:chenyue@cs.zju.edu.cn
数 值 分 析 Numerical Analysis 主讲教师: 陈 越 Instructor: CHEN, YUE E-mail: chenyue@cs.zju.edu.cn
m教材( Text book 数值方法金一庆、陈越编著(机械工业出版社) 参考书目( Reference) Numerical Analysis (Seventh Edition) 数值分析(第七版影印版) Richard. Burden&J. Douglas faires(高等教育出版社) >现代数值分析李庆扬、易大义、王能超编著 (高等教育出版社)
教材 (Text Book) 数值方法 金一庆、陈越 编著 (机械工业出版社) 参考书目 (Reference) ➢ Numerical Analysis (Seventh Edition) 数值分析 (第七版 影印版) Richard L. Burden & J. Douglas Faires (高等教育出版社) ➢ 现代数值分析 李庆扬、易大义、王能超 编著 (高等教育出版社)
课程评分方法( Grading policies) O Lecture Grade(100)=Laboratory projects(30) Final exam(70) 白 Laboratory grade(30)=∑Lab(i)
课程评分方法 (Grading Policies) Lecture Grade (100) = Laboratory Projects (30) + Final Exam (70) = 15 i 1 Laboratory Grade (30) = Lab ( i )
Numerical Analysis Laboratory projects 1. Input and output Your program must read from a file "in. txt(if there is any input)and write to a file " out. txt''in the current directory 2. Judge compiler Visual C++6.0 Enterprise Edition
Numerical Analysis Laboratory Projects 1. Input and Output Your program must read from a file “in.txt” (if there is any input) and write to a file “out.txt” in the current directory. 2. Judge Compiler Visual C++ 6.0 Enterprise Edition
3. How to Submit your program by e-mail Youmaysendyoursourcecodeto:chenyue@cs.zju.edu.cn with"HW'as the title of your e-mail. Note if you don't specify the title ofyour e-mail, there could be a delay ofjudging Your c or c++ file must be named as“ yours_ problem蒜c” (or cpp). For example, 98115001 03 c"is considered to be the program for solving problem 3 and the author is the student with Id 98115001 The first line of your source code must be a comment line written in the following format: Author: Your name: D: Your D: No, Problemaf*/ For example: /*Author: Yao Qiaoling; ID: 98115001; No03*/
3. How to Submit your Program by E-mail You may send your source code to: chenyue@cs.zju.edu.cn with “HW” as the title of your e-mail. Note: if you don’t specify the title of your e-mail, there could be a delay of judging. Your C or C++ file must be named as “yourID_problem#.c” (or .cpp). For example, “98115001_03.c” is considered to be the program for solving problem 3 and the author is the student with ID 98115001. The first line of your source code must be a comment line written in the following format: /* Author: Your name; ID:YourID; No.Problem# */ For example: /* Author: Yao Qiaoling; ID: 98115001; No.03 */
4. Grading policy Your program will be compiled and run in my system, and i will test it with some inputs and outputs, or perhaps with a specific judge tool. In 24 hours you will receive by e-mail one of these answers(as you can see, I have been coaching our ACMiCPc teams for too long Accepted: OK! Your program is correct! You will obtain 2 points for correctly solving one problem. Presentation Error: Your program outputs are correct, but are not presented in the correct way. Check for spaces, justify line feeds Wrong Answer: Correct solution not reached for the inputs The inputs and outputs that I use to test the programs are not public. Run Time Error: Your program crashed during the execution(segmentation fault, floating point exception.)
4. Grading Policy Your program will be compiled and run in my system, and I will test it with some inputs and outputs, or perhaps with a specific judge tool. In 24 hours you will receive by e-mail one of these answers (As you can see, I have been coaching our ACM/ICPC teams for too long ☺ ): Accepted: OK! Your program is correct! You will obtain 2 pointsfor correctly solving one problem. Presentation Error: Your program outputs are correct, but are not presented in the correct way. Check for spaces, justify line feeds... Wrong Answer: Correct solution not reached for the inputs. The inputs and outputs thatI use to test the programs are not public. Run Time Error: Your program crashed during the execution (segmentation fault,floatingpoint exception...)
Time Limit Exceeded: Your program tried to run during too much time. This error does not allow you to know if your program would reach the correct solution to the problem Output Limit Exceeded: Your program tried to write too much information. This usually occurs if there is an infinite loop Compile Error: The compiler could not compile your program Submission Error: You have not specified correctly your file name or the first comment line (an incorrect ID, number of problem.). Note Each program must be done independently to gain any credit. 2. For each problem solved on 2002 ZU Programming Contest, the contestant will obtain 4 bonus points for his/her lab credits
Time Limit Exceeded: Your program tried to run during too much time. This error does not allow you to know if your program would reach the correctsolution to the problem. Output Limit Exceeded: Your program tried to write too much information. This usually occursif there is an infinite loop. Compile Error: The compiler could not compile your program. Submission Error: You have not specified correctly your file name or the first comment line (an incorrect ID, number of problem...). Note: 1. Each program must be done independently to gain any credit. 2. For each problem solved on 2002 ZJU Programming Contest, the contestant will obtain 4 bonus points for his/her lab credits