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

## Recommended Answers

Jump to Postwhat is a divided difference table?

what are p1(x), p2(x), etc...?

I would love to help you out, but you need to give us more details. Please explain it clearly.

Jump to Postsmall tidbit: include math.h file to be able to use sin, cos, and some other functions in your program.

first line of code:

`#include <math.h>`

## All 5 Replies

MareoRaft
0
Junior Poster in Training

MareoRaft
0
Junior Poster in Training

newton_LA
0
Newbie Poster

newton_LA
0
Newbie Poster

tito4life
0
Newbie Poster

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, learning, and sharing knowledge.