Question: using trapezoidal rule Develop a C-code that numerically integrates the following function using N of different values, where N is the number of steps or

using trapezoidal rule  using trapezoidal rule Develop a C-code that numerically integrates the following

Develop a C-code that numerically integrates the following function using N of different values, where N is the number of steps or intervals. Print out all xi,=f(x) and the final result. Determine and print the appropriate value of N based on the results for different N values Integrate the function by using both Trapezoidal rule and Simpson's rule, then compare the results with it calculated from mathematical software such as Matlab, Mathematica etc Your C-code must contain the following features: (1) use of arrays, (2) use of pointers, (3) use of structure, (4) use of union, (5) use of functions and function calls, (6) formatted output on screen and (7) saving of the same output on a data file. You need to submit a written report on the project and the report needs to follow the format below: (i) (ii) Cover page (see attached as an example) Summary i Introduction - tells what you want to do in this project (iv) Theory of numerical integration (v) Results and Discussion (vi Conclusion (vii Appendix a. b. c. List of your C code Sample Run of your Code Data file of the result you have exported to the local drive Total report length is limited within 10 pages (excluding the appendix). Cover page is separate. Submit the hard copy of your report at the beginning of the class, and submit the PDF version on Canvas. Grading Policy: Technical Part: 75% Writing: 25%

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!