1、数 值 分 析Numerical Analysis&教材教材(TextBook)数值方法数值方法 金一庆、陈越金一庆、陈越 编著编著(机械工业(机械工业出版社)出版社)&参考书目参考书目(Reference)Numerical Analysis (Seventh Edition)数值分析数值分析 (第七版(第七版 影印版)影印版)Richard L.Burden&J.Douglas Faires (高等教育出版社)(高等教育出版社)现代数值分析现代数值分析李庆扬、易大义、王能超李庆扬、易大义、王能超编著编著(高等教育出版社)(高等教育出版社)课程评分方法课程评分方法(GradingPolici
2、es)LectureGrade(100)=LaboratoryProjects(30)+FinalExam(70)LaboratoryGrade(30)=Numerical AnalysisLaboratoryProjects1.InputandOutput 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.JudgeCompiler Visual C+6.0 Enterprise Edition3.How
3、toSubmityourProgrambyE-mailYou may send your source code to:with“HW”asthetitleofyoure-mail.Note:if you dont specify the title of your e-mail,there could be a delay of judging.YourCorC+filemustbenamedas“yourID_problem#.c”(or.cpp).For example,“98115001_03.c”is considered to be theprogramforsolvingprob
4、lem3andtheauthoristhestudentwithID98115001.Thefirstlineofyoursourcecodemustbeacommentlinewritteninthefollowingformat:/*Author:Your name;ID:Your ID;No.Problem#*/Forexample:/*Author:YaoQiaoling;ID:98115001;No.03*/4.GradingPolicyYourprogramwillbecompiledandruninmysystem,andIwilltestitwithsomeinputsando
5、utputs,orperhapswithaspecificjudgetool.In24hoursyouwillreceivebye-mailoneoftheseanswers(Asyoucansee,IhavebeencoachingourACM/ICPCteamsfortoolong):Accepted:OK!Yourprogramiscorrect!Youwillobtain2pointsforcorrectlysolvingoneproblem.Presentation Error:Yourprogramoutputsarecorrect,butarenotpresentedinthec
6、orrectway.Checkforspaces,justifylinefeeds.Wrong Answer:Correct solution not reached for theinputs.TheinputsandoutputsthatIusetotesttheprogramsarenotpublic.Run Time Error:Your program crashed during theexecution(segmentationfault,floatingpointexception.).Time Limit Exceeded:Yourprogramtriedtorundurin
7、gtoomuch time.This error does not allow you to know if yourprogramwouldreachthecorrectsolutiontotheproblem.Output Limit Exceeded:Yourprogramtriedtowritetoomuchinformation.Thisusuallyoccursifthereisaninfiniteloop.Compile Error:Thecompilercouldnotcompileyourprogram.Submission Error:Youhavenotspecifiedcorrectlyyourfilename or the first comment line(an incorrect ID,number ofproblem.).Note:1.Eachprogrammustbedoneindependentlytogainanycredit.Foreachproblemsolvedon2002ZJUProgrammingContest,thecontestantwillobtain4bonuspointsforhis/herlabcredits.http:/