C program to construct a divided difference table for f(x) = cos x based on five points which are 0,1,2,3,4. Use the coefficient ak (k, cos k). Round up to 7 decimal places. Derive p1(x), p2(x), p3(x), p4(x).

Please I need any help I can get on this program. Whatever you guys do to help would be sincerely appreciated. Thanks