#include #include #include void main() { double f[100]; ofstream out("diff.txt"); double first[99], second[98], third[97], fourth[96]; int i; for(i=0;i<100;i++)f[i]=pow(i,4)-5*pow(i,3)+3*i+4; // function for(i=0;i<99;i++)first[i]=f[i]-f[i+1];// first difference for(i=0;i<98;i++)second[i]=first[i]-first[i+1];// second difference for(i=0;i<97;i++)third[i]=second[i]-second[i+1];// third difference for(i=0;i<96;i++)fourth[i]=third[i]-third[i+1];// fourth difference for(i=0;i<100;i++)out<