#include <iostream>
using namespace std;
double f(double x){ return -7*x*x - 4*x;}
int main() {
double x1 = -0.57143, sum = 0, dx = 0.01;
while(x1 <= 0) {
x1 += dx;
sum += f(x1)*dx;
}
cout << sum;
return 0;
}
I2luY2x1ZGUgPGlvc3RyZWFtPgp1c2luZyBuYW1lc3BhY2Ugc3RkOwoKZG91YmxlIGYoZG91YmxlIHgpeyByZXR1cm4gLTcqeCp4IC0gNCp4O30gCmludCBtYWluKCkgewpkb3VibGUgeDEgPSAtMC41NzE0MywgIHN1bSA9IDAsIGR4ID0gMC4wMTsKCXdoaWxlKHgxIDw9IDApIHsKeDEgKz0gZHg7IApzdW0gKz0gZih4MSkqZHg7Cn0gCmNvdXQgPDwgc3VtOwoJcmV0dXJuIDA7Cn0=