Skip to main content

Stirling's formula for equal interval.

Stirling's formula for equal interval:

Let u = (x-x₀)/h
Then Gauss's forward interpolation formula is
f(x) = y₀+u/1!∆y₀+{u(u-1)/2!}∆²y₋₁+{(u+1)(u)(u-1)/3!}∆³y₋₁+{(u+1)u(u-1)(u-2)/4!}∆⁴y₋₂ +.......    .....(1)
and Guass backward interpolation formula is
f(x) = y₀+u/1!∆y₋₁+{u(u+1)/2!}∆²y₋₁+{(u+1)(u)(u-1)/3!}∆³y₋₂+{(u+2)(u+1)u(u-1)/4!}∆⁴y₋₂ +......     .......(2)
Taking the mean of (1) and (2), we get
f(x) = = y₀+u/1![(∆y₀+∆y₋₁)/2] + (u²/2!) ∆²y₋₁ + u(u-1)(u+1)/3![(∆³y₋₁+∆³y₋₂)/2] + [u²(u²-1)/4!]∆⁴y₋₂ +..... .....(3)
Which is called Stirling formula.
It is used when u lies between -1/4 and 1/4.
Example: Employ Stirling formula to compute y₁₂.₂ from the following table (yₓ = 1+log₁₀sinx):
      x°:             10         11          12       13           14
10⁵yₓ:     23967  28060   31788  35209   38368
Solution: Rewriting
x°:        10         11           12           13          14
yₓ: .23967   .28060   .31788   .35209   .38368
Taking the origin at x₀=12°, h= 1, x=12.2,
then u = (x-x₀)/h = (12.2-12)/1 = 0.2,
which lies between -1/4 and 1/4.
Central difference table


Stirling formula is
f(x) = = y₀+u/1![(∆y₀+∆y₋₁)/2] + (u²/2!) ∆²y₋₁ + u(u-1)(u+1)/3![(∆³y₋₁+∆³y₋₂)/2] + [u²(u²-1)/4!]∆⁴y₋₂ +.....
Here y₀=0.31788, ∆y₀=0.03421, ∆y₋₁=0.03728, ∆²y₋₁= -0.00307, ∆³y₋₁= -0.00045, ∆³y₋₂=0.00058, ∆⁴y₋₂ = -0.00013
∴ y₁₂.₂ = 0.31788+(0.2)/1[ (.03421+.03728)/2] +(.2)²/2[-.00307] + {(.2)[(.2)²-1]/6} [(-.00045+.00058)/2] + {(.2)²[(.2)²-1]}/24(-0.00013)
= 0.31788+0.00715-0.00006-0.000002+0.0000002
=0.32497 Ans

Comments

Popular posts from this blog

Newton-Gregory forward interpolation formula and Newton- Gregory backward interpolation formula.

Newton-Gregory forward interpolation formula: Let u = (x-x₀)/h then Newton-Gregory forward interpolation formula f(x) = y₀ + u∆y₀ + [u(u-1)]/2!×∆²y₀+ .......+ {u(u-1)(u-2)[u-(n-1)]}/n!×∆ⁿy₀ Example: Find f(15) by using Newton-Gregory forward interpolation formula? x: 10       20       30        40          50 y: 46       66       81        93          101 Solution. Here x₀=10, h = 10 and x= 15. Thus u = (x-x₀)/h = (15-10)/10 = 5/10 = 1/2 Forward difference table. By using Newton-Gregory forward interpolation formula f(x) = y₀ + u∆y₀ + [u(u-1)]/2!×∆²y₀+ .......+ {u(u-1)(u-2)[u-(n-1)]}/n!×∆ⁿy₀ f(15) = y₀ + 1/2∆y₀ + [1/2(1/2-1)]/2!×∆²y₀+ [1/2(1/2-1)(1/2-2)]/3!×∆³y₀ +[1/2(1/2-1)(1/2-2)(1/2-3)]/4!×∆⁴y₀  f(15) = 46 +(0.5)(20) + [(0.5)(-0.5)]/2×(-5) +[(0.5)(-0.5)(-1.5)]/6×(2) + [(0.5)(-0.5)(-1.5)(-2.5)]/24×(-3) f(15) = 46...

Kinds of number and significant digits.

  Kinds of Number  There are two kinds of number, exact and approximate. Approximate numbers Approximate numbers are those that represent the number to a certain degree of accuracy. Example; An approximate value of π is 3.1416 or if we wish to have a better approximation, it is 3.14169265. But we cannot write the exact value of π. Exact numbers The numbers which are accurately expressed are called exact numbers. For example; 1,2,3…., 1/2,3/2,…. √2, π, e etc written in this manner. Significant digits The digits that are used to express a number are called significant digits or significant figures. Example; The numbers 3.1416, 0.66667, 4.0687 contains five significant digits each. The number 0.00025 has however, only two significant digits viz 2 and 5 since zeroes serve only to fix the position of decimal points. Similarly, the numbers 0.00145, 0.000145, 0.0000145 all have three significant digits. Rule for finding significant digits Rule 1:   Every non zero digit is signif...

Gauss's central difference formula for equal intervals.

 Gauss's central difference formula for equal intervals: We shall develop central difference formulae which are best suitable for interpolation near the middle of the tabulated set (table). x:             x₋₂  x₋₁  x₀  x₁  x₂ y=f(x):    y₋₂  y₋₁  y₀  y₁  y₂ Difference table. Gauss's forward interpolation formula for equal intervals: f(x) = y₀+[u/1!]∆y₀+{[u(u-1)]/2!}∆²y₋₁+{[(u+1)(u)(u-1)]/3!}∆³y₋₁+{[(u+1)u(u-1)(u-2)]/4!}∆⁴y₋₂ +......., Where u= (x-x₀)/h Remark: This formula is applicable when u lies between 0 and 1 i.e (0<u<1). Example: Using Gauss's forward formula to evaluate y₃₀ given that y₂₁=18.4708, y₂₅=17.8144, y₂₉=17.1070, y₃₃=16.3432 and y₃₇=15.5154. Solution. The difference table is Forward difference table. To find y=f(x) at x=30, i.e f(30): Taking x₀ = 29, h=4, x=30, then u= (x-x₀)/h = (30-29)/4 = 0.25 Using Gauss's forward difference formula f(x) = y₀+[u/1!]∆y₀+{[u(u-1)]/2!}∆²y₋₁+...