Question: Develop a C-code to meet the requirements below: 21) Find the solution of the differential equation below by using Euler's method. The range of

Develop a C-code to meet the requirements below: 21) Find the solution of the differential equation below by using Euler's method. The range of x is 2 to 3. dy/dx=x-6x with y=5 at x=2 22) Find the appropriate step size for this specific problem. 23) Print all the y values within the range of x=2 to x=3. 24) Solve the differential equation analytically and compare with the Euler's method 25) 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.
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
