Project #159946 - Develop a C-code to meet the requirements

Computer Tutors

Subject Computer
Due By (Pacific Time) 12/11/2016 03:00 pm

 

X

0.5

1.2

2.4

3.6

5.7

7.5

Y=f(x)

9.6

7.4

4

-6

-9.7

-9

 

 

 

Develop a C-code to meet the requirements below:-

 

Plot f(x) versus x on a graph using any plot programs (Excel)

 

 

 

 

 

1-     Fit polynomials to the data using second-order polynomial

 

Regression y= (a0+a1x+a2x^2)

 

 

 

2-       Use Simpson’s Rule to calculate   f (x) dx, where a0, a1 and a2

 

Are determined in step 1). The integration is limited between x values (0.5 – 7.5)

 

 

 

Requirements:-

 

 

 

Use 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 file.

 

(8) Theory of numerical integration

 

(9) Cover page (see attached as an example)

 

(10)Summary

 

(11) Introduction tells what you want to do in this project

 

(12) Theory of numerical integration

 

(13) Results and Discussion

 

(14) Conclusion

 

(15) Appendix

 

(16) List of your C code

 

(17) Sample Run of your Code

 

 

 

 

 

TutorRating
pallavi

out of 1971 reviews
amosmm

out of 766 reviews
PhyzKyd

out of 1164 reviews
rajdeep77

out of 721 reviews
sctys

out of 1600 reviews
sharadgreen

out of 770 reviews
topnotcher

out of 766 reviews
XXXIAO

out of 680 reviews