Question: Develop a C-code to meet the requirements 1) Find the solution of the differential equation below by using Euler's method. The range of x is
Develop a C-code to meet the requirements 1) Find the solution of the differential equation below by using Euler's method. The range of x is 3 to 4 dy/dx-x2+2x with y-3 at x-3 2 Find the appropriate step size for this specific problem. 3) Print all the y values within the range of x-3 to x-4 4) Solve the differential equation analytically and compare with the Euler's method 5) Obtain a linear regression y-ax+b and show the r value 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 file You need to submit a written report on the project and the report needs to follow the format below ii Cover page (see attached as an ix) Summary (x) Introduction tells what you want to do in this project (xi Theory of Euler's method (xii) Results and Discussion (xiii Conclusion (xiv) Appendix a. List of your C code b. Sample Run of your Code
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
