#include #include #include int main() { double a=0.0, b=1.0, x; int i, n = 10; srand(time(0)); for(i=0; i