Evaluate the area bounded by a given polynomial function of the kind described above, between the given limits of and .
Evaluate the volume of the solid obtained by revolving this polynomial curve around the -axis.
An absolute error margin of will be tolerated.
The first line contains integers separated by spaces, which are the values of .
The second line contains integers separated by spaces, which are the values of .
The third line contains two space separated integers, and , the lower and upper range limits in which the integration needs to be performed, respectively.
The first line should contain the area between the curve and the -axis, bound between the specified limits.
The second line should contain the volume of the solid obtained by rotating the curve around the -axis, between the specified limits.
1 2 3 4 5
6 7 8 9 10
The algebraic expression represented by:
We need to find the area of the curve enclosed under this curve, between the limits and . We also need to find the volume of the solid formed by revolving this curve around the -axis between the limits and .
All test cases are weighted equally.
You need to clear all the tests in a test case.