Advertisement
Guest User

Untitled

a guest
Sep 19th, 2017
37
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.59 KB | None | 0 0
  1. x0=0 f0=f[x0]=5
  2. f[x0,x1]=(9-5)/(1-0)=4
  3. x1=1 f1=f[x1]=9 f[x0,x1,x2]=(6-4)/(2-0)=1
  4. f[x1,x2]=(15-9)/(2-1)=6 f[x0,x1,x2,x3]=(-3/2-1)/(3-0)=-5/6
  5. x2=2 f2=f[x2]=15 f[x1,x2,x3]=(3-6)/(3-1)=-3/2
  6. f[x2,x3]=(18-15)/(3-2)=3
  7. x3=3 f3=f[x3]=18
  8.  
  9.  
  10. In veelterm:
  11.  
  12. f[x0,x1,x2,x3]*(x-0)*(x-1)*(x-2) = -13/12 * (x-0) * (x-1) * (x-2) = -5/6 * (x^3 - 3x^2 +2x)
  13. Term a3 -> -5/6 * x^3
  14.  
  15. f[x0,x1,x2,x3,x4]*(x-0)*(x-1)*(x-2)*(x-3) = 1 * (x-0) * (x-1) * (x-2) * (x-3) = 1 * (x^4 - 6x^3 + 11x^2 -6x)
  16. Term a3 -> - 6 * x^3
  17.  
  18. (-5/6 * x^3) + (- 6 * x^3) = (-41/6 * x^3)
  19. -> a3 = -41/6
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement