Home > Numerical methods calculators > Five point Forward difference, Central difference formula numerical differentiation example

4. Five point Forward difference, Central difference formula numerical differentiation example ( Enter your problem )
  1. Formula & Example-1 (table data)
  2. Example-2 (table data)
  3. Example-3 (`f(x)=cosx`)
  4. Example-4 (`f(x)=2x^3+x^2-4`)
  5. Example-5 (`f(x)=xlnx`)
  6. Example-6 (`f(x)=sinx`)
Other related methods
  1. Two point Forward, Backward, Central difference formula
  2. Three point Forward, Backward, Central difference formula
  3. Four point Forward, Backward, Central difference formula
  4. Five point Forward, Central difference formula

1. Formula & Example-1 (table data)
(Previous example)
3. Example-3 (`f(x)=cosx`)
(Next example)

2. Example-2 (table data)





Using Five point Forward difference, Backward difference, Central difference formula numerical differentiation to find solution
x11.051.101.151.201.251.30
f(x)11.024701.048811.072381.095451.118031.14018

`f^'(1.15) and f^('')(1.15)`


Solution:
The value of table for `x` and `y`

x11.051.11.151.21.251.3
y11.02471.04881.07241.09541.1181.1402

Five-point CDF (Central difference formula)
`f^'(x)=1/(12h)[f(x-2h)-8f(x-h)+8f(x+h)-f(x+2h)]`

`f^'(1.15)=1/(12*0.05)[f(1.15-2*0.05)-8f(1.15-0.05)+8f(1.15+0.05)-f(1.15+2*0.05)]`

`f^'(1.15)=1/0.6[f(1.05)-8f(1.1)+8f(1.2)-f(1.25)]`

`f^'(1.15)=1/0.6[1.0247-8(1.0488)+8(1.0954)-1.118]`

`f^'(1.15)=0.4663`



Five-point CDF (Central difference formula) for second derivatives
`f^('')(x)=1/(12h^2)[-f(x-2h)+16f(x-h)-30f(x)+16f(x+h)-f(x+2h)]`

`f^('')(1.15)=1/(12*(0.05)^2)[-f(1.15-2*0.05)+16f(1.15-0.05)-30f(1.15)+16f(1.15+0.05)-f(1.15+2*0.05)]`

`f^('')(1.15)=1/0.03[-f(1.05)+16f(1.1)-30f(1.15)+16f(1.2)-f(1.25)]`

`f^('')(1.15)=1/0.03[-1.0247+16(1.0488)-30(1.0724)+16(1.0954)-1.118]`

`f^('')(1.15)=-0.199`


This material is intended as a summary. Use your textbook for detail explanation.
Any bug, improvement, feedback then Submit Here



1. Formula & Example-1 (table data)
(Previous example)
3. Example-3 (`f(x)=cosx`)
(Next example)





Share this solution or page with your friends.


 
Copyright © 2024. All rights reserved. Terms, Privacy
 
 

.