Hi,(adsbygoogle = window.adsbygoogle || []).push({});

i have no idea how to start up my program on newton interpolation. i have solved it manually but im clueless on how 2 start my program. below represnts the input which i want 2 solve. every 4 lines represnts one problem. the 1st line- n,m where n is no of data points and m is no of evaluation pts. 2nd and 3rd line represent x and y of n pts. 4th line is m @ which it is to be evaluated. the function is sinx. can anyone help me out??

3 2

0.1 0.4 0.5

3.1 3.2 4.1

1.5 1.6

3 5

1.0 2.0 3.0

1.7 1.8 1.1

1.1 1.2 1.4 1.3 1.8

15 5

0.1 0.4 0.5 1.2 2.0 2.1 2.2 2.3 2.4 2.5 2.6 2.7 2.8 2.9 2.95

3.1 3.2 4.1 2.7 1.9 1.7 1.8 1.1 1.7 1.8 1.1 1.7 1.8 1.1 2.3

1.0 1.2 1.6 2.0 2.5

ma output is supposed to be in d form

e1 fN(e1)

e2 fN(e2)

.

.

em fN(em)

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# Solving newton interpolation with c

**Physics Forums | Science Articles, Homework Help, Discussion**