You are on page 1of 2

Assignment Questions

The population of a town in the census is as given in the data. Estimate the population in the year 1965 and 1996 using Newtons forward and backward difference interpolation Algorithm. Year Population (in 1000s) 1961 46 1971 66 1981 81 1991 93 2001 101

Write a Program in C to implement Lagranges interpolation algorithm or Apply the algorithm to find f(2.5) if f(1) =2, f(2)=4, f(3)=8, f(4)=16 and f(7)=128. Write a program in C to implement Trapezoidal rule or apply the rule to find the approximate value of 1 1 dx with h=1/2, 1/4, 1/8 and then Romberg Method. I= 1+ x 0 Use Picards Algorithm upto 3 iterations to solve for y(0.1) and y(0.2), the equation dy/dx = x2+y2; y(0)=0 Solve by Taylor series method of fourth order, the equation dy/dx=log(xy), for y(1.1) and y(1.2), given y(1)=2. The velocity v of a particle at a distance s from a point on its linear path is given in the following data. s(m) 0 v(m/s) 16 2.5 19 5.0 21 7.5 22 10.0 20 12.5 17 15.0 13 17.5 11 20.0 9

Estimate the time taken by the particle to traverse the distance of 20 meters using Simpsons 1/3rd Algorithm. Estimate the value of sin at =250 Algorithm from the following table. sin 10 0.1736 using Newton-Gregory Forward difference 20 0.3420 30 0.5000 40 0.6428 50 0.7660

Write a Program in C to implement Lagranges interpolation formula or Apply the formula to find f(2.5) if f(1) =2, f(2)=4, f(3)=8, f(4)=16 and f(7)=128. Write a program in C to implement Trapezoidal rule or apply the rule to find the approximate value of

I=

1 dx with h=1/2. 1+ x 0
2

Write a program in C or Algorithm for Gauss Elimination Simple process.


3 Use Simpsons 3/8 rule to evaluate x + 1 dx 1

Develop a program to evaluate integrals using Simpsons 1/3 rule. dy 2 y = with y(1)=2, estimate y(2) using Milne-Simpson predictor-corrector dx x method. Assume h=0.25.

Use Picards Method with 3 iterations to solve for y(0.1) and y(0.2), the equation dy/dx = x2+y2; y(0)=0

You might also like