Question: pls solve with C Write a function to calculate the approximate value of the area between the curve y = x + (x- 0.2)^2 +
Write a function to calculate the approximate value of the area between the curve y = x + (x- 0.2)^2 + (x -0.37)^5 and the lines x0 = 0, x1 = 1, y = 0 without doing the integral. Function should take x0 and x1 values as input and return the calculated value for area. Submit both main and multiplication function codes. Example output: Enter XO and x1:01 x = 0.0 y = 0.03 Sum = 0.03 x = 0.1 y = 0.11 Sum = 0.14 * = 0.2 y = 0.20 Sum = 0.34 x = 0.3 y = 0.31 Sum = 0.65 x = 0.4 y = 0.44 Sum = 1.09 x = 0.5 y = 0.59 Sum = 1.68 x = 0.6 y = 0.76 Sum = 2.44 x = 0.7 y = 0.95 Sum = 3.40 x = 0.8 y = 1.17 Sum = 4.57 x = 0.9 y = 1.43 Sum = 6,00 y = x + (x -0.2)^2 + (x -0.37)^5 in x0 = 0.0 and x1 = 1.0 is: 6.00
Step by Step Solution
There are 3 Steps involved in it
Get step-by-step solutions from verified subject matter experts
