” PHY2027课程 辅导、C++留学生程序 写作PHY2027 Scientific Programming in C T1:09 2020Project: Option 1 General CommentsThe objective of the project is to test your ability to use all the features of C that we have studiedwithin the module. Remember that you must produce a piece of code that conforms to the generalexpectations detailed in the introduction to the module (code structure, indentation, etc). InstructionsWrite a code that performs numerical integration of polynomial functions. The code must: Let the user Choose the order and coefficients of the polynomials. Let the user choose different integration methods (you may want to explore the trapezoidalrule and Simpsons rule to begin with). Present a couple of test cases, showing the difference between the exact solution and theresult obtained from your code. Optionally, if You have time and the program works, try integrating other types of functions.Up to 20 marks will be awarded if the code (see general expectations in the introduction to themodule):1. Has the appropriate structure [5 marks]2. Has the appropriate indentation [5 marks]3. Uses Variables of the correct type [5 marks]4. Is properly Commented [5 marks]Note: Due to the large number of programs that we will need to mark, it may be difficult forus to debug a Code and find the exact reason for failure if the code is not written in a clear andstructured way.如有需要,请加QQ:99515681 或邮箱:99515681@qq.com
“
添加老师微信回复‘’官网 辅导‘’获取专业老师帮助,或点击联系老师1对1在线指导。