SKP Engineering College

Size: px
Start display at page:

Download "SKP Engineering College"

Transcription

1 S.K.P. Engineering College, Tiruvannamalai SKP Engineering College Tiruvannamalai 666 A Course Material on By S.Danasekar Assistant Professor Department of Matematics

2 S.K.P. Engineering College, Tiruvannamalai Quality Certificate Tis is to Certify tat te Electronic Study Material Subject Code:MA659 Subject Name: Year/Sem:II / IV Being prepared by me and it meets te knowledge requirement of te University curriculum. Signature of te Autor Name: S.Danasekar Designation: Assistant Professor Tis is to certify tat te course material being prepared by Mr. S.Danasekar is of te adequate quality. He as referred more tan five books and one among tem is from abroad autor. Signature of HD Name: K. Srinivasan Seal: Signature of te Principal Name: Dr.V.Subramania Barati Seal:

3 S.K.P. Engineering College, Tiruvannamalai MA659 NUMERICAL METHODS OBJECTIVES: Tis course aims at providing te necessary basic concepts of a few numerical metods and give procedures for solving numerically different kinds of problems occurring in engineering and tecnology UNIT I SOLUTION OF EQUATIONS AND EIGENVALUE PROBLEMS Solution of algebraic and transcendental equations - Fied point iteration metod Newton Rapson metod- Solution of linear system of equations - Gauss elimination metod Pivoting - Gauss Jordan metod Iterative metods of Gauss Jacobi and Gauss Seidel - Matri Inversion by Gauss Jordan metod - Eigen values of a matri by Power metod. UNIT II INTERPOLATION AND APPROXIMATION Interpolation wit unequal intervals - Lagrange's interpolation Newton s divided difference interpolation Cubic Splines - Interpolation wit equal intervals - Newton s forward and backward difference formulae. UNIT III NUMERICAL DIFFERENTIATION AND INTEGRATION Approimation of derivatives using interpolation polynomials - Numerical integration using Trapezoidal, Simpson s / rule Romberg s metod - Two point and tree point Gaussian quadrature formulae Evaluation of double integrals by Trapezoidal and Simpson s / rules. UNIT IV INITIAL VALUE PROBLEMS FOR ORDINARY DIFFERENTIAL EQUATIONS Single Step metods - Taylor s series metod - Euler s metod - Modified Euler s metod - Fourt order Runge-Kutta metod for solving first order equations - Multi step metods - Milne s and AdamsBas fort predictor corrector metods for solving first order equations.

4 S.K.P. Engineering College, Tiruvannamalai UNIT V BOUNDARY VALUE PROBLEMS IN ORDINARY AND PARTIAL DIFFERENTIAL EQUATIONS Finite difference metods for solving two-point linear boundary value problems - Finite difference tecniques for te solution of two dimensional Laplace s and Poisson s equations on rectangular domain One dimensional eat flow equation by eplicit and implicit (Crank Nicolson metods One dimensional wave equation by eplicit metod. TOTAL (L:5+T:5: 6 PERIODS OUTCOMES: Te students will ave a clear perception of te power of numerical tecniques, ideas and would be able to demonstrate te applications of tese tecniques to problems drawn from industry, management and oter engineering fields. TEXT BOOKS:. Grewal. B.S., and Grewal. J.S.,"Numerical metods in Engineering and Science", Kanna Publisers, 9t Edition, New Deli, 7.. Gerald. C. F., and Weatley. P. O., "Applied Numerical Analysis", Pearson Education, Asia, 6 t Edition, New Deli, 6. REFERENCES:. Capra. S.C., and Canale.R.P., " for Engineers, Tata McGraw Hill, 5 t Edition, New Deli, 7.. Brian Bradie. "A friendly introduction to Numerical analysis", Pearson Education, Asia, New Deli, 7.. Sankara Rao. K., "Numerical metods for Scientists and Engineers", Prentice Hall of India Private, rd Edition, New Deli, 7.

5 S.K.P. Engineering College, Tiruvannamalai CONTENTS S.No Particulars Page Unit I 6 Unit II Unit III 8 Unit IV 58 5 Unit V 7 5

6 UNIT I SOLUTION OF EQUATIONS AND EIGEN VALUE PROBLEMS Te order of convergence of Newton-Rapson metod is ; Te convergence condition is f (f''( f '( PART A State te order of convergence of Newton Rapson metod. [CO - L - Nov/Dec 5] Write te iterative formula for finding N, by Newton s metod?[co - L - Apr/May 5] N n n n Write down te order of convergence and condition for convergence of fied point iteration metod = g(. [CO - L] Te Order of convergence is One and condition for convergence is g'(, for I were I is te interval containing te root of = g(. State Newton s algoritm for finding square root of. [CO - L- Apr/May 5] N Te Newton s algoritm for is n n, were N= n. =.5, =.6, =.6, =.6 5 If g( is continuous in [a,b], ten under wat condition te iteration metod g( as a unique solution in [a,b]? [CO - L] (i If g( [a,b] for all [a,b], ten g( as a fied point in [a,b]. (ii If ' g ( eists in (a,b and a positive constant k< eists wit g'( k for all (a,b, ten te fied point in [a,b] is unique. 6 State Newton s iterative formula. [CO - L- May/June ] n n f ( n f '( n 7 State fied point teorem.[co - L] Suppose te equation f( = can be written in te form = g(. Let a be a root of f( = and let I be te interval containing a. Suppose g( and ' g ( are continuous in I and g '( a for all, ten te sequence of successive approimations,,, by g( converges to a. 8 Wat is te iterative formula for finding N, were N is a real, by Newton s metod? [CO - H] N n n n i i 6

7 9 Locate te Negative root of =, approimately. [CO - L] Let f( = - + 5; f(- = 6 = positive ; f(- = = positive ; f(- = -6 = Negative; Hence te root lies between - and -. Wat are te merits of Newton s metod of iteration? [CO - H] Newton s metod is successfully used to improve te results obtained by oter metods. It is applicable to te solution of equations involving algebraic functions as well as transcendental functions. Write down te condition for te convergence of Gauss Seidel metod. [CO - L] Te given system of equation a b y cz d, a b y cz d, a b y cz d sould be diagonally dominant. i.e. a b c ; b a c ; c a b For solving a linear system of equations, compare Gauss Elimination metod and GaussJordan metod. [CO - H - Nov/Dec 5] S.No. Gauss-Elimination metod Gauss Jordan metod.. Coefficient matri is transformed into upper triangular matri. We obtain te solutions by back substitution metod. Coefficient matri is transformed into diagonal matri. No need of back substitution metod. Distinguis between direct and iterative metods of solving simultaneous equations.[co - L] S.No Direct Metod Iterative Metod.. We get eact solution. Simple, take less time. Approimate solution. Time consuming, laborious. Self correcting metod. Wat is meant by Diagonally Dominant? [CO - L - May/June ] A matri is diagonally dominant if te numerical value of te leading diagonal element in eac row is greater tan or equal to te sum of te numerical values of te oter element in tat row. i.e. a b c ; b a c ; c a b 7

8 5 By Gauss elimination metod, Solve y, y 5; [CO - L] Te given system equations can be written as AX = B 5 A, B ~ R R R We ave + y =, y =. Hence = y =. y 5 6 Write te procedure to solve AX = B by Gauss Elimination metod. [CO - L] In tis metod te augmented matri is transformed into an equivalent upper triangular matri by elementary row operations and ten by back substitution, we get te solution. 7 Eplain briefly Gauss Jordan iteration to solve te simultaneous equations.[co - L] In tis metod, te augmented matri is reduced to a diagonal matri (or even a unit matri by elementary row operations. Here we get te solutions directly, witout using back substitution metod. 8 Determine te largest eigen value and te corresponding eigen vector of te matri two decimal places using power metod. [CO - L] Let X AX = X AX = X ; AX = X correct to Te largest Eigen value is & te corresponding Eigen vector is. 9 Using Newton s metod, find te root between and of Given f ( 6. 6correct to decimal places. f( = = positive; f( = - = negative Terefore a root lies between and. f ( n f ( 6 s 8

9 Take =; =.6666, =.7, =.7, =.7. 6 Te last two iteration values are equal.te root is.7 Using iteration metod, find te root between and of e correct to two decimal places. Given f ( e f == positive; f( =e- = negative Terefore a root lies between and. e g(, g ' ( e Here g ( < in (, (i Select =.6.Ten = e.677 ; e.687 e Te last two iteration values are equal. Hence =.6 PART B.65 Find Newton s iterative formula to find te reciprocal of a given number N and ence find te Value of. [CO - H] 9 Let N N f N ; i f ( i ; f ( ( i i i i i ( N To find,take =. 5 9 X =.55; =.56; =.56 ; = (ii Find a positive root of te equation 5 = by te metod of fied point iteration. [CO - H]. Te root lies between & = + 5 take =.5 = φ = + 5 =.596, =

10 =.696 =.696 Hence te root is.696 (i Find a positive root of te equation cos by te metod of fied point iteration.[co - H] f( = cos -+= f = +ve f π = ve Te root lies between and π = + cos take =.6 = + cos = =.67 6 =.67 Hence te root is.67 (ii Structure te least positive root of correct to decimal places using Newton Rapson metod. [CO - H- May/June ] Given f(=, f ( f( = -= -ve; f( = = +ve Terefore A root lies between and. Take = f ( n f ( n n ; =.87; f ( n f ( Terefore te root is.856 f ( =.856 ; f ( f ( =.856. f ( (i Find a root of log. Newton s metod correct to tree decimal places. f = log. f = ve, Te root lies between and take = + =. 5 i+ = i f i f i i = =. 765 i = i = =. 765 =. 765 ence te root is.765 f = +ve (ii Find te approimate root of e by Newton- Rapson metod correct to decimal places.

11 [CO - H]. Given f(= e f ( e e f( = -.87 = -ve; f( =.778 = +ve Terefore root lies between and. Here f ( f ( Te root is nearer to Take = f ( n n n ; f ( f ( =.58; f ( n f ( =.99 ; f ( Te value of and are equal. Terefore te root is.99 f ( =.99 f ( (i Solve te following system of equations by Gauss Elimination metod + y z = 5, + y z =, y + z =. [CO - H] 5 (A,B 5 7 R R R R R R 6 8 Hence y z 5 y z 7 6z 8 z y

12 (ii Solve te following system of equations by Gauss-Jacobi metod. [CO - H] 7 6 y z 85, y 5z, 6 5 y z 7; As te coefficient matri is not diagonally dominant we rewrite te equation as 7 6 y z 85, 6 5 y z 7, y 5z ; 85 6 y z 7 y 7 6 z 7 z y 5 Let te initial value be, y, z 5(i ( ( (.8, y.8, z.7 Second iteration: ( ( ( 57, y.69, z.89 ( ( ( Tird iteration:.9,y.685,z Proceeding like ts we get =.6, y=.57, z=.96 Apply Gauss Jordan metod to find te solution of te following system: y z 6, y z 8, y z 9 ; Since te coefficient of in te tird equation is unity, we intercange first and tird equation, we get + y + z = 6, +y +z =8, +y +z = 9. [CO - L - Nov/Dec 5] 6 ( A, B R R R R = R R Terefore =,y=,z=. R R 5(ii Solve y z, y z, y 5z 7 by Gauss Jordan metod.[co - H] + y +5z = 7 +y + z = + y + z =

13 ( A, B R ( R 9 58 R ( R ( 9 R R = 8 8 Terefore =,y=,z= R R R R 8 9 R R 8 8 6(i Solve te following system by Gauss Seidel metod [CO - H- Apr/May 5] y z 7, y z 8, y z 5; 6(ii Te system is diagonally dominant, Now, te system is diagonally dominant. Terefore (7 y z, y ( 8 z, z (5 y Setting y=,z= we get (.85, y (.75, z (.9 ( ( ( Second iteration:.5, y.9998, z ( ( ( Tird iteration:., y., z. Hence =,y= -, z= Test te following system by Gauss Seidel metod y z, 5y z, y 8z ; [CO - H- Apr/May ] Te system is diagonally dominant, Now, te system is diagonally dominant.

14 7(i Terefore ( y z, y ( z, z ( y 5 8 Setting y=,z= we get ( ( (.5, y., z.9 Second iteration: ( ( (.75, y.95, z.965 ( ( ( Tird iteration:.56, y.98, z.995 Proceeding like tis we get =, y=, z=. 6 Using Gauss Jordan metod find te inverse of te matri A Given [ A I ] = A / A / R R /,R R /,R R / / / A 6 / / R R R,R R R 5 / / 6 / / A / / R R 5 / 56 / 56 / 56 / / 6 / 56 A / 56 5 / 56 / 56 R R 6R,R R R 5 / 56 / 56 / 56 Hence A 5 7(ii Using Gauss Jordan metod find te inverse of te matri A

15 Given [ A I ] = A, 6 R R R R R R A / / / R R A, / / / / 6 R R R R R R A, 6 / / / / / 5/ / R R R R R R A Hence 5 6 A A Given [ A I ] = 5 A / R R / 5 / A R R,R R R R / / 7 / / A 5 5 S.K.P Engineering College, Tiruvannamalai 8(i Using Gauss Jordan metod, find te inverse of te matri 5

16 A A A A Hence A / / R R 7 / / / / / / / R 5/ / R 5 7 R R R,R R R R R R, R R R 8(ii A Using Jacobi metod, find te eigen values of a a Solution: cot a 6 5 cot / / 5 5 take sin and cos b a cos a sin a sin 5 5 b a a b ence eigen values are and cos sin R sin cos r 5 Teeigen vectors are X and X 5 6

17 9(i Using Jacobi metod, find te eigen values of cos sin Let R sin cos cot cot a a 6 a 6 A s take sin and cos b a cos a sin a sin 7 6 b a a b ence eigen values of B and A are 7 and. 7 cos sin 6 6 ere B D and Rotation matri R sin cos 6 6 Te eigen vectors are X X 9(ii Find te largest eigen value and eigen vector of, by using Power metod. 7 Let A= AX.Let te initial eigenvector be = X 7 7 ' X 7

18 A ' X AX 7 ' X A ' X AX 7 ' X A X 7 ' X A X 5 ' X A X 6 ' X A X 7 ' X A X 8 ' X A X 9 ' X A X Terefore te eigen vector is.8.56 and te eigen value is 7. (i Find te largest eigen value and eigen vector of 6 A, by using power metod. Also find te Let A= 6.Let te initial eigenvector be X 8 8 S.K.P Engineering College, Tiruvannamalai least latent root and ence find te tird eigen value also. [CO - H- Apr/May 5]

19 6 AX.X 6 7 AX X 6.57 AX X... Proceeding like tis we get, eigen value = and eigen vector = (,.5, To find te least eigen value B = A - I since 6 6 B Let y 6 By. y 6 5 By y 6 5 y y Dominant eigen value is 5 Adding,smallest eigenvalue of A 5 Sum of eigen value Trace of A 6 ( 6 Te eigen values are,, 9

20 5 (ii Find te numerically largest eigen value of A = by using power metod. [CO - H- Apr/May ] and te corresponding eigen vector, ( Let te initial eigenvector be X 5 5 AX ( = ( = 5. 5X AX ( =. = X (.(ie X (..Repeating tis, we.667 get ,5.86.5, Terefore Te largest eigenvalue is 5.8 and te corresponding eigen vector is UNIT II INTERPOLATION AND APPROXIMATION Interpolation is te process of computing intermediate values of a function from a given set of tabular values of te function. PART A List te Interpolation and Etrapolation? [CO - H] Etrapolation is te process of finding te values outside te interval, n. Structure te use of Newton s forward and backward formula? [CO - H- Apr/May 5] Newton s forward formula is used to interpolate value of y nearer to te beginning value of te table. Newton s backward formula is used to interpolate value of y nearer to te end of set of tabular values. Tis may also be used to etrapolate closure to rigt of y n. State any two properties of divided difference. [CO - L- Nov/Dec 5]

21 (i Te divided differences are symmetrical in all teir arguments. i.e. te value of any divided difference is independent of te order of te arguments. (ii Te n t divided differences of a polynomial of degree n are constants. Wat is te relationsip between te Newton s Divided Difference and Newton s forward difference? [CO - H] n n f ( o If te arguments are equally spaced, ten f ( o n n! 5 Construct a linear interpolation polynomial given te points ( o,y o and (,y. [CO - H] ( o f ( yo y o 6 State Lagrange s Interpolation formula for (, y, (, y, (, y.[co - L- Apr/May 5] ( ( ( ( ( ( f ( y y y ( ( ( ( ( ( o o o o o o 7 Write Lagrange s Inverse Interpolation formula. [CO - L] ( y y ( y y...( y yn ( y y ( y y...( y y n o o n o ( y y ( y y...( y yn ( y y ( y y...( y y n o n n o n ( y yo ( y y...( y yn ( y y ( y y...( y y o n... 8 Outline te advantage as lagrange s formula over newton? [CO - H- Nov/Dec 5] Te forwared and backward interpolation formula of newton can be used only wen te value of te independent variable are equally spaced can also be used wen te differences of te dependent variable y become smaller ultimately.but Lagrange s interpolation formula can be used weter te values of, te independent variable are equally spaced or not and weter te difference of y become smaller or not. 9 State te Newton s divided difference formula. [CO - L- Apr/May ] f ( ( f ( o o ( ( o f ( o...(, n ( f ( o, o, State Newton s forward formula. [CO - L] (,... n f ( o,,...

22 u(u u(u (u u(u...(u (n n y( yo u yo yo yo... yo!! n! were u State Newton s Backward formula. [CO - L] v(v v(v (v v(v...(v (n n y( yn vy n yn yn... yn!! n! were v n State te error in Newton s Backward formula. [CO - L- Nov/Dec ] p(p (p...( p n Error f ( p ( n y n n (c were p n (n! Sow tat te second divided difference [,, ] is independent of te order of te arguments. [CO - L] f ( f ( f ( f (,, ( ( ( ( ( ( => f (,, = f (,, = f (,, Tis sows tat f (,, is independent of te order of te arguments. Form te divided difference table for te following data[co - H] : 5 y : f f f Wat is a cubic spline and natural cubic spline? [CO - H] Tird degree polynomials employed to connect eac pair of data points are called cubic splines. If M = and M n =, ten te cubic spline is called as natural cubic spline. 6 State te properties of te cubic spline. [CO - L - Apr/May ] A cubic spline S( is defined by te following properties.

23 (iv S( i = y i, I =,,, n (ii S(, S (, S ( are continuous in [a, b] (iii S( is a cubic polynomial in eac subinterval ( i, i+, I =,,, n 7 Sow tat. bcd a abcd f ( ; f ( a, f ( b, f ( c, f ( d a b c d f ( b, c, d f ( a, b, c f ( a, b, c, d bcd abc bcd a d a d a abcd 8 If f( = f(b f(a (a b f(a,b b a b a b a a b 5 f(, 6 9 Wat are te assumptions we make wen Lagrange s formula is used?[co - H] y, i,,... n i i (ii Te differences of dependent variable are not ultimately small. (iii Te values of, te independent variable need not be in a particular order. (iv All te values of te independent variables must be distinct. f( Prove tat log( f( log f(, find f(a, b and ence f(,. [CO - H] Let y f and, Te assumptions in deriving Lagrange s interpolation formula are: (i Te values of te independent variable need not be equally spaced. log f ( log f ( log f ( log f ( log f ( f ( f ( f ( f ( log f ( f (

24 PART B (i Find te missing term in te following table using Lagrange s interpolation. X y 9-8 ( (8 ( ( ( ( ( ( (9 ( ( ( 5 ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( f y y y y f y (ii using Lagrange s formula find te polynomial for te following data ( (7 ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( ( f y y y y f y S.K.P Engineering College, Tiruvannamalai Te Lagrange s interpolation formula f( 7

25 (i Find te tird degree polynomial f( satisfying te following data using Lagrange s formula. Hence find f(.[co - H] 5 7 f( 6 7 ( ( ( ( ( ( y f ( y y ( ( ( ( ( ( ( ( ( ( ( ( y y ( ( ( ( ( ( ere,, 5, 7 & y, y, y 6, y 7 (ii ( ( 5( 7 ( ( 5( 7 ( ( ( 7 ( ( ( 5 y f ( ( ( (6 (7 ( ( 5( 7 ( ( 5( 7 (5 (5 (5 7 (7 (7 (7 5 ( 6 6 f ( Using Lagrange s interpolation calculate te profit in te year from te following data: Year: Profit (in Laks: ( ( y f ( ( ( y 997 y ( 65 y f ( ( ( 999 ( 59 y ( ( ( ( 8 ( ( ( y ( ( ( ( ( ( y y ( ( ( y (i Using Lagrange s interpolation formula, find y( given tat y(5=,y(6=,y(9=andy(=6. [CO - H - Apr/May ] 5

26 ( ( ( ( ( ( y f ( y y ( ( ( ( ( ( ( ( ( ( ( ( y y ( ( ( ( ( ( ( 6( 9( ( 5( 9( y f ( ( ( (5 6(5 9(5 (6 5(6 9(6 ( 5( 6( ( 5( 6( 9 ( (6 (9 5(9 6(9 ( 5( 6( 9 put y(.6666 (ii Using Lagrange s inverse interpolation formula, find te value of wen y= from te given data f, f, f 8, f 8 [CO - H- Apr/May 5] ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y o o o o o o ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y o o y y y y y

27 (i Using Lagrange s inverse interpolation formula, find te value of wen y= from te given data y (ii ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y o o o o o o ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y ( y y o o y y y 8 y 7 y Find f( as a Polynomial in for te following data by Newton s divided differenceformula and ence find f(8. f : 5 7 : f( f( 8 f( f( f(

28 f ( f ( ( f (, ( ( f (,, ( ( ( f (,,, ( ( ( ( f (,,,, f ( ( ( 55 ( ( 5( 7( ence f (8 8 5(i Using Newton s divided difference formula compute f( from te data y f( f( 5 f( f( f( f ( f ( ( f (, ( ( f (,, ( ( ( f (,,, ( ( ( ( f (,,,, 8

29 ere,,,, 5 f( 5 f (, f (,, 9 f (,,, f (,,,, f ( f ( 9 5(ii Using Newton s divided difference, compute f(5 from te data [CO - L - May/June ] 7 y y Δ Δ Δ Δ f ( f ( ( f (, ( ( f (,, ( ( ( f (,,, ( ( ( ( f (,,,, To find f(5: f(5 =. 9

30 6(i Given te table. X: Y: Evaluate f (9 using Newton s divided difference formula. [CO - H- Apr/May ] y Δ Δ Δ Δ f ( f ( ( f (, ( ( f (,, ( ( ( f (,,, ( ( ( ( f (,,,, To find f(9: f(9 = = 8 6(ii Find te missing values from te following table [CO - H] X y 6-7 -

31 y Δ Δ Δ Δ 6 5 a- a- -a a 7-a -+6a+b 7-a -6+a+b b+a -b-a b-7 8-b-a b 8-b -b 5 Since only four values are given, we ave fourt difference is zero Terefore Δ y = 6a+b=, a+b= Solving tis we get a=.5, b=.5 7(i Using Newton s forward interpolation formula, find te polynomial f satisfying te following data and ence find te value of y for = 5.[CO - H] X 6 8 Y 8 6

32 y Δ Δ Δ u = = f ( =. u( u y( yo u yo y! f ( o u( u ( u y! o... 7(ii Ceck Newton s backward interpolation to construct an interpolating polynomial of degree for te data: [CO - H] f f f f , ,. Hence find f Using te following table, we ave v v(v v(v (v y( y y y y ; were v!!! ere ;.5 ; v.5 ence y(... f( /.75858

33 y y y y (i. Using Newton s forward interpolation formula, find te cubic polynomial wic takeste following values: f : : y y y y - - 9

34 8(ii u u(u u(u (u y( y y y y!!! ere ; y ; ; u ence y( 7 6 f( f( From te following table find te value at tan 5 5 ' : tan : u u(u u(u (u y( y y y y!!! u(u (u (u u(u (u (u (u 5 y y...! 5! o y y y y y y -.5 ere u 5 o ence y( o o 5 5 5

35 9(i From te given data, find te number of students wose weigt is between 6 and 7. Weigt in lbs : No of students : y Cumulative frequency Below 5 5 Below 6 7 Below 8 7 Below 7 5 y y y y Below 5 59 u u(u u(u (u u(u (u (u y( y y y y y!!!! 7 ere u.5 ence y(7.597 now we take 6 6 u y(6 7 9(ii Terefore, te no.of students wose weigt below 6=7 Te no.of students wose weigt below 7=.597 No. Of students wose weigt is between 6 & 7=.597-7=5.597=5 approimately. Fit a natural cubic spline to te following data. : y: 5 Also compute y (.5 and y ' (. [CO - H- Apr/May 6] 5

36 Here Let M M o Te cubic spline, in is given by i 6 We ave Mi Mi M i [y i yi y i] for i, M M M 6( M M M 8 Tis reduces to, (taking M, M M M ( i M M 8 ( solving ( & ( we get M, M f( y( [(i M i ( i M i] [(i [y i M i]] ( i[y i M i] ( for i f( [ 5] ; ( for i for i f( [ 5] ; (5 Equation(,(5 & (6 give te cubic spline in eac sub interval f( [ 76 8] ; (6 ence f(.5.75 ence f (.667 f ( [ 6 5] ; (i From te given data, y -8-8 Compute f(.5, f(.75,and f ' ( using cubic splines. [CO - H] Here =, = 6

37 i i i i i i i i i i i i t t d k t d k t t tf f t S f f function is te spline k k k k k k t d d ] ( ( [ ( ( ( , 8 7, 8 ] 7( ( 7( [( ( (( ( ( 8 ( ] ( ( ( [( ( ( ( ( (, S d k d k f f S t i put polynomial tis is cubic spline S 5 9 ( (.7 (.75 ( (.5 ( ( ' ' S f S f S S (ii If (, (, ( ( f f f and f, find a cubic spline approimation, assuming M M 7 7 S.K.P Engineering College, Tiruvannamalai Also find f (.5. [CO - H]

38 solution : Here ; n Let M M o 6 We ave Mi Mi M i [y i yi y i] for i, M M M 6[y y y ] M M M 6[y y y ] Tis reduces to, (taking M, M M M 8 ( M M 8 ( solving (& ( we get M f( 5 ; (, M 76 f( y( [(i M i ( i M i] [(i [y i M i]] ( i[y i M i] ( for i for i f( ; (5 for i f( ; (6 Equation(,(5 & (6 give te cubic spline in eac sub interval ence f(.5.5 UNIT-III NUMERICAL DIFFERENTIATION AND INTEGRATION PART A Give te order of error in te Simpson s rule. (b a Error = E M 8 Hence te error in Simpson s one tird rule is of te order 8

39 dy d y State Newton s formula to find te derivatives, d d at using forward differences. [CO - L]. dy (u (u 6u y' f '( yo yo yo... d!! d y 6u 8u y' ' f ''( y (u y y... were u o o o o d dy d y State Newton s formula to find te derivatives, at d n using backward differences. d [CO - L] dy (v (v 6v y' f '( yn yn yn... d!! d y 6v 8v y'' f ''( y (v y y... were v n n n n d dy d y State Newton s formula to find te derivatives, d d [CO - L - May/June ] y' f '( dy d y o yo y... at = using forward differences. d y y'' f ''( y... o yo yo d dy d y 5 State Newton s formula to find te derivatives, at = d n using backward differences. d [CO - L] dy y' f '( y y n n yn... d d y y'' f ''( yn yn yn... d 6 Wen do you use Newton s divided difference interpolation to find te derivatives? [CO - L] o If values of formula.,... o,, n are not equally spaced ten we can use te Newton s divided difference 9

40 7 Define Numerical Integration. [CO - L] b Te process of computing te values of definite integrals y d from a set of ( n + paired values a ( i,y i, i =,,,,n, were o = a, n = b of te function y = f( is called Numerical integration. 8 Wat is te Geometrical interpretation of Trapezoidal rule?[co - H] Te area of te region enclosed by te curve y = f(, te ais, te ordinates = a and = b by using te area of trapezium. 9 Wy Simpson s one tird rule is called a closed formula? [CO - L - Nov/Dec ] Since te end point ordinates y o and y n are included in te Simpson s one tird rule, so it is called closed formula. Wy Trapezoidal rule is so called? [CO - L] Since we approimate te given integral by te sum of n trapezoids, it is called as Trapezoidal rule. Wat approimation is used in deriving Simpson s rule of integration? [CO - H] Simpson s one tird rule approimates te area of two adjacent strips by te area under a quadratic parabola. Define Quadrature [CO - L- Nov/Dec 5] Te process of evaluating a definite integral from a set of tabulated values of function is called as quadrature. If I =.775 and I =.788 find I using Romberg s Metod. [CO - L] In In By Romberg s Metod I =.785 Evaluate d by Gaussian point formula. [CO - H- Apr/May 5] f (d f f I d = =.69 5 State Gaussian point formula. [CO - L]

41 5 8 f (d f f f ( Given te following data, find y e : : (b a Error y' '(, e d by using Simpson s rule wit = / [CO - L] a b; Order of te error 8 Wat are te errors involved in Simpson s rules for te evaluation of a definite integral of te form b a (b a Error 8 e d Wat is te error in Trapezoidal rule and write down its order.[co - H- Nov/Dec ] f (d. [CO - L] iv y (, f (d f f a b; Order of te error 9 Write down two point Gaussian quadrature formula. [CO - L- May/June ] State Simpson s one-tird rule. [CO - L] n f( d [( y y ( y y... yn ( y y... y n n ] PART B (i Find te first two derivatives of at =5 and = 56, for te following table.[co - L] y =

42 Here y = y y y y By Newton 's forward formula dy dy [ y y y...] d d u dy [. (. (...].55 d 5 By Newton 's backward formula d y [ y y...]. d 5 dy dy [ yn yn y n...].75 d d 56 v d y [ y n y n...]. d 56

43 (ii Find te value of sec from te following data tan Te difference table is tan y y y d (tan sec d By Newton 's formula dy dy [ y y y...] d d u dy dy [. (. (....].69 d d u 8 (i d (tan sec. d sec.7 69 A slider in a macine moves along a fied straigt rod. Its distance cm along te rod is given below various values of te time t seconds. Find te velocity of te slider wen t =.second f(

44 y y y y y 5 y 6 y dy (u (u 6u y ' f '( yo yo yo... d!! dy Velocity at..769 d ' (ii Given te following data, find f 6 and te maimum value of f f : 7 9 : Since te arguments are not equally spaced, we will use Newton s divided difference formula By Newton s divided difference, y = f( = f( + (- f(, + (- (- f(,, +..

45 y = f( Φ f( Φ f( Φ f( Φ f( f( = f ( = + + f (6 = 5. Maimum Value: f( is maimum if f ( = => + + =. But te roots are imaginary. Terefore, tere is no etreme value in te range. (i Given te following values of and y, find dy d and d y at =.5 d y : :

46 y y y y y 5 y 6 y y =.9 and y = -.68 (ii Te table given below reveals te velocity v of a body during te time t. Find its Acceleration at t =. t :..... v : Acceleration = dv dt 6

47 y' y' ' f '( f ''( dy d d y d (u (u 6u y y o o yo...!! 6u 8u y (u y o o yo... were u o t v v v v v Use Newton s forward difference formula, dy (u (u 6u y ' f '( yo yo yo... d!! Acceleration wen t =. is.97 (i Evaluate d Case (i: Wen =.5, y using Romberg s metod. Hence obtain an approimate value for.5 y.8.5 7

48 .5 I [.5 (.8].775 ( Using Trapezoidal rule Case (ii: =.5 ten y I.788 Case (iii : = y I.786 Using Romberg s formula, I I I I = ( I I I I = ( From ( and ( d Evaluation:.785 W.K.T d.785 tan.785 tan tan.785 (ii Using Romberg s metod, evaluate d correct to decimal places. Hence find loge 8

49 [CO - L - May/June ] Case (i: Wen =.5 y.5 y I [.5 (.6666].78 ( Using Trapezoidal rule Case (ii: =.5 ten y I [(.5 ( ].697 Case (iii : = y I [(.5 ( ].69 Using Romberg s formula, I I I I = ( I I I I = ( From ( and ( Evaluation: d.69 9

50 W.K.T d.69 log(.69 loge log.69 loge.69 ( log 5(i 5(ii y = e Evaluate e d using Simpson s rule, coosing =.5. [CO - H- Apr/May 5] y By Simpson s rule, I ( y y ( y ( y y Find te value of =.5 y / log from using Simpson s rule wit.5.[co - H] y I ( y y ( y ( y y. By Simpson s rule, Actual Integration: 5

51 log( log. 6(i By dividing te range into equal parts, evaluate sin d by using Trapezoidal rule. Verify your results by actual integration.[co - H- Nov/Dec 5]. Range = π = π, and y =sin y π By Trapezoidal rule, n o y ( d ( yo yn ( y y y... yn I =.98. Actual Integration: sin d cos 6(ii A curve passes troug te points,,.,.,.,.,.,.,,.,. Area y d Volume y d Find Area: y By Simpson s rule, and.,.. Obtain te area bounded by te curve, te X ais and =,=. Also find te volume of solid of revolution got by revolving tis area about te X ais. [CO - H] 5

52 I ( y y 6 ( y y ( y y y5 Area 7.78 sq. units Find Volume: y Volume y d. (. Volume 8. cubic units 7(i Evaluate sin t dt by using Gaussian two point formula. [CO - H] Transform te variable from to t by te transformation t = b a + b + a Here a =, b = π t = π + π Limit : t π = π( + and dt = πd - 5

53 sin t dt sin ( d were f ( sin ( I f f sin t dt (ii Evaluate d I Transform te variable from to t by te transformation = b a t + ere a =, b = = t + = t + b + a by using two point Gaussian Quadrature. [CO - H] and d = dt Limit : t - 5

54 I d dt / t dt t I f f were f ( t t I d 8(i.5 Evaluate e d by using tree point Gaussian Quadrature. [CO - H - May/June ]. Transform te variable from to t by te transformation = b a t + ere a=., b=.5.65t.85 d.65dt Limit : b + a..5 t - 5

55 .5 (.65t.85. e d e (.65 dt (.65 e (.65t.85 ere f ( t e dt (.65t.85 f (.855 f f.6 5 (.65t e dt f f e d (.65( f. 8(ii Evaluate.. d dy y by using Trapezoidal rule, verify your results by actual integration. Divide te range of and y into equal parts... k. f (, y y y/ By Trapezoidal rule, k I= {sum of values of f at te four corners+(sum of te values of f at te remaining nodes on te boundary+(sum of te values of f at te interior nodes} 55

56 .. d dy.6 y Actual Integration: d dy dy d y y d dy y / / log y log.. (log.(log. log (log.(log..6 9(i Evaluate sin Divide te range of and y into equal parts k f (, y sin( y y / y ddy by using Simpson s rule verify your results by actual integration By Simpson s rule, I =.8 Actual Integration: / / / / sin y ddy (sin cos y cos sin y ddy 56

57 9(ii Evaluate ddy y by using Simpson s rule and Trapezoidal rule taking =.5 and k =.5 y f (, y & k.5 / y By Trapezoidal rule k I= {sum of values of f at te four corners+(sum of te values of f at te remaining nodes on te boundary+(sum of te values of f at te interior nodes} I =. By Simpson s rule I =.8 (i Evaluate f (, y y y y y k.5 ddy by Trapezoidel rule wit =k=.5. [CO - H] / y

58 By Trapezoidal rule, k I= {sum of values of f at te four corners+(sum of te values of f at te remaining nodes on te boundary+(sum of te values of f at te interior nodes} I =.5 (ii Evaluate y ddy y by using Trapezoidal rule taking = k =.5 [CO - H - Nov/Dec ] y / By Trapezoidal rule, k I= {sum of values of f at te four corners+(sum of te values of f at te remaining nodes on te boundary+(sum of te values of f at te interior nodes} I =.7 UNIT IV INITIAL VALUE PROBLEMS FOR ORDINARY DIFFERENTIAL EQUATIONS PART A Write down te Taylor series formula for solving first order ODE. [CO - L- May/June ] yn yn yn yn yn...!!! Using Taylor series metod, find te value of y (., from decimal places. [CO - H- Apr/May 5] y y y yy y y yy (y y y yy 6yy y ; y 8; y 8 dy d iv iv y and y( = correct to 58

59 by using Taylor series formula, y =.5 State te Euler s formula.[co - L]. y y f (, y, y y f (, y, were n n n n dy Find y(. from y given tat y( = by Euler s metod.[co - H- Nov/Dec 5] d n n n n y y f(,y y (.(. 5 Write te formula for modified Euler s metod. [CO - L] yn yn f n, yn f ( n, yn Merits: (i Taylor s formula is easily derived for any order according to our interest. (ii Te values of y( for any ( need not be at grid points are easily obtained. Demerits: (i Tis metod suffers from te time consumed in calculating te iger derivatives. 7 Compare Taylor series metod and RungeKutta metod. [CO - L] 8 6 Write te merits and demerits of te Taylor s series metod of solution.[co - L] (i Te use of R-K metod gives quick convergence to te solutions of te differential equations tan Taylor s series metod. (ii Te labour involved in R-K metod is comparatively lesser. (iii In R-K metod, te derivatives of iger order are not required for calculation as in Taylor series metod. Wat are te advantages of R-K metod over Taylor series metod?[co - H] Te Rungekutta metods are designed to give greater accuracy and tey possess te advantage of requiring only te function values at some selected points on te sub interval. 9 Wat is te truncation error in Taylor s series metod?[co - H] n ( n n Error o y ( o( n! Wat is te error of Euler s metod?[co - H] Error at ' ' ( y (, y o(! Wat are te limitations of Euler s metod?[co - H] i Te attainable accuracy is limited by lengt of step. ii Te metod is slow and as limited accuracy. 59

60 Wat is te error in Fourt order Rungekutta metod?[co - H] Error = y( i+ y i+ and te order of error is ( 5. Wat do we mean by saying tat a metod is self-starting? Not self-starting?[co - H] Iteraion metod is self starting, since we can take value wic lies in te given interval [a, b] in wic te root lies. But Milne s metod is not self starting. Since we sould know any four values prier to te value wic we need. Compare Single-step metod Multi-step metods.[co - L- Apr/May 5] S.No Single-step metod Multi-step metod It requires only te numerical value y i in order to compute te net value y i+ It requires not only te numerical value y i but also atleast four of te past values y i -, y i -,, Taylor series, Euler s and R-K metods are single step metods Milne s, Adam s metods are multi step metods 5 Write down te error in Adam s predictor and corrector formulas.[co - L- Nov/Dec 5] Order of error is 5 ; Error in predictor : ( v y ( ; Error in corrector : 9 y 5 ( v ( 6 Write down te error in Milne s predictor and corrector formulas.[co - L] Order of error is 5 ; Error in predictor : 5 ( v y ( ; Error in corrector : 5 ( v y Write down t order RungeKutta formula to solve second order differential equation. We ave y = z and z = f(, y, z. [CO - L] k f ( y, z l g( y, z,, k l k l k f (, y, z l g(, y, z k l k l k f (, y, z l g(, y, z k f ( y k, z l l g( y k, z l,, ( ( ( ( 6 6 y y y z z z y k k k k z l l l l ( 8 Write down te Milne s predictor and corrector formulas.[co - L] Te predictor formula is y y n, P n ( y ' y n ' n y ' n Te corrector formula is y y ( y ' y ' y ' n, C n n n n 6

61 S.K.P Engineering College, Tiruvannamalai 9 State Adam s predictor and corrector formula. [CO - L- Nov/Dec ] Te predictor formula is y y [55y 59y 7 y 9 y ] i i i i i i Te corrector formula is y y [9y 9y 5 y y ] i i i i i i Compare Adam s Basfort metod wit RungeKutta metod. [CO - L] S.No Adam s Basfort Metod Runge-Kutta Metod Multi step metod Single step metod Need four prior values of y i s Need only te last prior value Does not permits canges in te step size Permits canges in te step size PART B (i dy Solve log ( y, d y( by Euler s metod =., find y(. and y(. [CO - H] (ii (i log Given Data is :, y,. and f(,y ( y Euler s Formula is y y f(, y, n,,,, n Put n = we get, Put n = we get, Solve n n y..log.6 y(. n y.6.log..6. y(. dy y, y( d y Given, y,. and f(, y. Euler s Formula is y y f(,y, n,,,, n n by Euler s metod =., find y(. and y(. [CO - H] n n Put n = we get, ( y y(... 9 Put n = we get, (.9 y y( dy Find te value of y at =. from y, d y( by Taylor s series [CO - H-June ] Given, y,. and y y Taylor s series epansion is y n y n yn y n yn!!!... 6

62 S.K.P Engineering College, Tiruvannamalai (ii For n, y y y y y... (!!! y y / y y y // /// ( / y y y // / // y y y y /// / // /// iv 6y 6y y ( iv y ( y 6 Putting te values in (, we get (. (. (. y(. (.( ( ( ( 6... =.95 6 Obtain te approimate value of y at =. &. for te differential equation dy y e, d y( by Taylor s Series metod. Compare te numerical solution obtained wit te eact solution. [CO - H- Nov/Dec 5] Given, y,. and y y e Taylor s series epansion is y y y y n n n n yn...!!! To find y(.: For n, y y y y y... (!!! dy y ' ( y e d y ' Differentiating y' ( y e successively tree times and putting = y =, we get y '' ( y ' e y '' 9 y ''' ( y '' e y ''' y iv iv y ( y ''' e 5 Putting te values in ( 9 5 y( = (.+.5(. +.5( (. = To find y(.: =., y =.5 For n, y y y y y... (!!! y '' ( y ' e y ''.5 y ''' ( y '' e y ''' 6.5 iv y ( y ''' e iv y 55.5 Putting te values in ( y = y(. =.87 By Eact Integration, 6

63 y e e i.e, y( e e y(..87 y(..8 Error in y =.5 Error in y = -. (i dy Solve sin cos y, d y(.5 by Modified Euler s metod =.5, find y(.5 [CO - H] Given Data is :.5, y,.5 and f(,y sin cos y yn yn f n, yn f ( n, y n.5.5 Put n = we get y y.5f (, y [f (, y ] y.5 f (.5.5,.5[ f (.5,] Put n = we get y y ( f, y [ f (, y] y.65.5 f(.5,.65.5[f(,.65].955 (ii (i dy Solve ( y, y( by Modified Euler s metod by coosing =., find y(. and d y(.. [CO - H] y Given = y,. and f(,y. Modified Euler s formula is yn yn f(n,yn [f(n,yn] Put n = we get y y... f (, y [ f (, y].. y y(.. f (, [ f (,].978 Put n = we get.. y y(. y. f (, y [ f (, y].855 Apply Runge Kutta metod, to find an approimate value of y wen =. given tat dy y, y(.[co - L- Apr/May 5] d Given:, y,.and f (, y y 6

64 Finding y y(. : R K metod (for n = is: y y(. y k k k k ( 6 k.. k f (, y. [ ] =. ; k f, y. =. k.. k f, y. =. k f y k... =.888, Using te values of k, k, k and k in (, we get y y(.. ( =.68 6 Hence te required approimate value of y is.68 (ii 5(i Using Runge Kutta metod of fourt order, solve dy y, y ( d y y Given:, y,.and f (, y y Finding y y(. R K metod (for n = is: y y(. y k k k k ( 6 k k f (, y. f (, =. ; k f, y. f.,. =.967 k k f, y. f.,.96=.967; k f y k..,.967 =.89, f Using te values of k, k, k and k in (, we get y y(.. (.967 ( = = Hence te required approimate value of y is.9599 dy Given y, y (, y(. =., y(. =.795 and y(.6 =.76. Compute y( using d Milne s Metod. [CO - L] at =..[CO - H] dy y f (, y d To find y(.8: Given:, y and f f (, y ;., y. and f f (, y.996 6

65 ., y.795 and f f (, y.97 ;.6, y.76 and f f (, y y y( y(.8 To Find : Predictor Metod (P (. y y(.8 y f f f ( =.9 Now we compute f f(.8,.9.77 Corrector Metod ( y C. y(.8 y f f f =.6 Finding y(. Given:., y. and f f (, y.996 ;., y.795 and f f (, y. 97.6, y.76 and f f (, y.56895;.8, y.6 and f f (, y. 77 y 5 y( 5 y(. To Find : Predictor Metod ( (. y P 5 y(. y f f f. ( =.55 Now we compute f 5 f (., Corrector Metod ( y C. 5 y(. y f f f =.556 5(ii Using Milne s metod to find y(. given tat 5y y given tat y(, y(..9, y(..97, y(... [CO - H] y y',,.,.,. 5., y, y.9, y.97, y. Substituting tese values, y.9, y.67, y.5 ' ' ' By Milne s predictor formula ' ' ' y,p y y y y.897 ' y.7 By Milne s corrector formula 65

66 ' ' ' y,c y y y y.87 y y(..87 dy y, y (, y (.., y (..58, y d ( (i Given Evaluate y (. by Adam s Basfort metod.[co - H- Apr/May 5] Given:, y ;., y. ;., y. 58 ;., y. 979 ' y, ' y.79, To Find y y( y(. : ' y.669 and ' y 5.5 Predictor Metod y, P y(. y 55 y 59 y 7 y 9y (..979 (555.5 ( (7.79 (9 =.579 Now we compute y 7. 7, p Corrector Metod y, C y(. y 9 y 9y 5y y..979 (9 7.7 (9 5.5 ( = (ii Using Adam s Basfort metod, find y(. given tat 5y y given tat y(, y(..9, y(..97, y(... [CO - H] y y',,.,.,. 5., y, y.9, y.97, y. Substituting tese values, y.9, y.67, y.5 ' ' ' By Adam s Basfort predictor formula ' ' ' ' y, p y 55y 59y 7y 9y.86 ' y.7 By Adam s Basfort corrector formula 66

67 S.K.P Engineering College, Tiruvannamalai ' ' ' ' y, c y 9y 9y 5y y.87 y y(..87 dy 7 Find te value of y(. by Milne s metod for y y, y(. Use Taylors series to get te d value of y at =., Euler s metod for y at =. and Runge - Kutta t order metod for y at =. [CO - H- Nov/Dec 5] To find y = y(. by Taylor s metod: Given, y,. and y y y Taylor s series epansion is y y y y n n n n yn...!!! For n, y y y y y...!!! ( At (, y (, ' '' ''' y y y y y'' y' y yy' y y''' y'' y' yy'' (y' y Putting te values in ( y = y(. =.67 To find y = y(. by Euler s metod: =., y =.67 Given f(,y y y y Euler s Formula is y Put n = we get, y y f (, y n y n f( n,y n, n,,,, y y(..67 (.((.(.67 ( To find y = y(. by R-K metod:., y.56,.and f (, y y y R K metod (for n = is: y y(. y y were y [k k k k ] ( 6 k f (, y.89 k k f, y. k k f, y

68 k f, y k.67 y.8 y y(. To find y = y(. by Milne s metod: y y y,.,.,.., y, y.67, y.56, y.77 Substituting tese values, y, y.587, y.895, y.6 By Milne s predictor formula ' ' ' y,p y y y y.8 By Pr edictor formula y.8 ' y y y.7 By Milne s corrector formula ' ' ' y,c y y y y.79 y y(..79 ' ' ' ' dy 8 Consider te IVP y, y(.5 d a. Using te modified Euler metod, find y(. b. Using R.K.Metod of order, find y(. and y(.6 Using Adam- Basfort predictor corrector metod, find y(.8 [CO - H- Nov/Dec ] dy Given y d, y.5,., f, y y (a By modified Euler s metod y y f, y f, y (. y f, y y y y.5. f, f., y y

69 Now (b t Runge-kutta metod dy y f, y d., y.88,. K f, y. y k..58 K f, y. f.,.88. f., , k K f y. f.,.88. f., K f, y k. f.., y k k k k y y..88 y , y.,. y?,.., K f y f k.. K f, y. f.,...5, f 69

70 k..7 K f, y. f.,.. f.5, ,..., , K f y k f y y.6 y y y k k k k (iii Using Adam-Bas fort predictor corrector metod y.5 y.88 y. y.677 y? Adam s predictor formula is ' ' ' ' y, n p yn 55y n 59yn 7yn 9yn Put n ' ' ' ' y, p y 55y 59y 7y 9y y y '.5.5 ' y y y y ' ' y y y, p Corrector formula 7

71 y, c y 9y 9y 5y y Put n ' ' ' ' n n n n n n ' ' ' ' y, c y y y y y y y ' Consider te initial value problem dy y d, y( = a. Find y(. and y(. by R.K.Metod of order b. Find y(. by Euler s metod c. Find y(. by Milne s predictor-corrector metod. [CO - H] Given dy y d, y,., f, y y To find y(. = y by R-K metod: R K metod (for n = is: y y(. y k k k k ( 6 k f (, y (.f (, (.(. k k k f, y.9875 k f, y k k f, y.75 Using te values of k, k, k and k in (, we get y y(. (. (.75 ( To find y = y(. by t Runge-kutta metod: 7

72 (i dy y f, y d., y.8,..98,...8. K f y y k K f, y.7 k..7 K f, y. f.,.8.9 K f, y k. f.., y k k k k.77 6 y y. y y y.86 To find y = y(. by Euler s metod: Euler s Formula is yn yn f(n,yn, n,,,, Put n = we get, y y f(,y y y(..86.(.86 (..66 To find y = y(. by Milne s metod: y y,.,.,.., y, y.8, y.86, y.66 Substituting tese values, y, y.98, y.786, y.66 By Milne s predictor formula ' ' ' y,p y y y y.6797 By Pr edictor formula y.6797 ' y y.797 By Milne s corrector formula ' ' ' y,c y y y y. y y(.. Consider te second order IVP Let t= ' ' ' ' y y t y e sin t, wit y ( = -. and y (=-.6. Using Taylor series appr., find y(. and using R.K.Metod of order, find y(.. [CO - H- May/June ] 7

73 S.K.P Engineering College, Tiruvannamalai y y y e sin, y(., y'(.6 ' Also y.6 To find y(. by Taylor s series: ' At (, y (,. & y.6 y e sin y y '' y. y''' e cos e sin y'' y' ''' y. (iv (iv y e (sin cos y''' y'' y 7.6 Taylor s series epansion is y y y y n n n n yn...!!! For n, y y(. y y y y...!!! y(.=.67.6 To find y(. = y by R.K. Metod: ' '' ' Set y z y z z ' z y e sin., y.6, z y ' ' '' y( y y y...!. y.6 z.6 ' dy dz d d k f ( y, z.6 l g( y, z. f (, y, z y ' z; g(, y, z z ' z y e sin,, k l k l k f (, y, z.67 l g(, y, z.7 k l k l k f (, y, z.65 l g(, y, z. k f (, y k, z l.66 l g(, y k, z l.66 y ( k ( k k k.657 z ( l ( l l l. 6 6 y y y.6 ( z z z.6 (..66 y(..67 & y(..557 (ii Solve y.( y y y subject to y(, y ( using fourt order 7

74 RungeKutta Metod. Find y(. and y (. using step size. To find y(. = y and y'(. y by R.K. Metod: ' ' '' ' Set y z y z ' (.( z y z y, y, z y ' dy dz f (, y, z y ' z; g(, y, z z ' (.( y z y d d k f ( y, z (. z.(. l g( y, z.((.( y z y,,.((.( (. k l k l k f (, y, z. l g(, y, z. k l k l k f (, y, z.9999 l g(, y, z. k f (, y k, z l.999 l g(, y k, z l.8 y ( k ( k k k.6 z ( l ( l l l y y y.6.6 z z z ( y(..6 & z y '( l UNIT-V BOUNDARY VALUE PROBLEMS IN ORDINARY AND PARTIAL DIFFERENTIAL EQUATIONS Solve y +y=, y( =, y(= wit =.5. [CO5 - H] [ yi yi yi ] i y [ i i yi yi yi ] yi. Wen i =, y = y(.5 =.66 PART A Write te forward, central and backward finite difference for u ui, j ui, j u ui, j ui, j ui, j ui, j u u,, State te central difference approimations for y i i y y y y y y and y i i i i i i i ' and y '' 7

75 State te forward difference approimations for y and y i i y y y y -y y and y i i i i i i i State te backward difference approimations for y and y 5 i i y y i i- y -y y i i i- y and y i i 6 State te general form of Poisson s equation in partial derivatives. u u u u u u u u i, j i, j i, j i, j i, j i, j G(, y or G(, y i j y k 7 State Crank-Nicolson s implicit sceme for one dimensional eat equation. (u u ( u i, j i, j i, j ka ( u (u u were i, j i, j i, j 8 Write te eplicit formula to solve one dimensional wave equation. u ( a u a (u u u i, j i, j i, j i, j i, j ' ' '' '' a a If i.e, k ten u i, j ui, j ui, j ui, j 9 Write down te simplest form of Crank-Nicolson s formula. ui, j ui, j ui, j ui, j If i.e, k ten u i, j a State Bender-Scmidt formula for solving one dimensional eat equation. k ui, j u i, j ( ui, j ui, j were a Write down tesimplest form of Bender-Scmidt formula. ui, j ui, j If i.e, k ten u i, j a Obtain finite difference sceme to solve u + u yy = ui, j ui, j ui, j ui, j ui, j ui, j k 75

76 Write down te classification of linear second order partial differential equation? [CO5 - L] Te linear second order partial differential equation Au + Bu y + Cu yy + Du + Eu y + Fu + G = can be classified as (i Elliptic if B AC < (ii Parabolic if B AC = (iii Hyperbolic if B AC > Classifyu yuy uyy u u Here B AC = y. Hence te given i PDE is Elliptic if y < ii PDE is Parabolic if y = iii PDE is Hyperbolic if y > 5 Write down te central finite difference formula for u yy ui, j ui, j ui, j ui, j k 6 Write down te Standard five point formula ui, j ui, j ui, j ui, j ui, j 7 Write down te Diagonal five point formula u u u u u i, j i, j i, j i, j i, j 8 Write down te Liebmann s iteration process formula: u u u u u (n (n (n (n (n i, j i, j i, j i, j i, j 9 Classifyu uy uyy Here B AC = 6 = PDE is Elliptic. '' Obtain te finite difference sceme for te differential equation y y 5 yi yi yi 5 yi y ( y y 5 i i i 76

77 PART B (i Solve ( y y y given tat y(, y( ( take = =/ =/ = Rewrite te equation as Substitute ( i yi i yi yi. yi+- y i + yi y i = yi yi & yi 9( y - y + y y y y. and simplify we get i i+ i i- i i i i Put i = we get 6y 6y 9( y - y + y y y y ( 6 y.65 y.769 ( 9( y - y + y y y y Put i = we get 7y y.5 y = y =? y =? y =/ (7 y.59 y.6765 ( Solving ( and ( we get y =.55 and y =. (ii Using te finite difference metod, Solve y" + y = subject to y( =, y( = at.5,.5 &.75 y i yi i &.5 yi+- y i + yi y i = yi yi & yi y y ( y Rewrite te equation as Substitute i i i i yi yi yi i 6 6 Put i = we get y.975y y y y.65(.5.975y y.56 ( Put i = we get and simplify we get 77

78 y.975y y.65 y.975y y.65(.5 y.975y y. ( Put i = we get y.975y y.65 y.975y.65(.75 y.975y.95 ( Solving (, ( and ( we get y =.5, y =.7 and y =.56 (i Solve u = u t, given tat u(, = ( -, u(,t =, u(,t = by Bender Scmidt s formula Compute u up to 5 times steps. (taking =, k = [CO5 - L - Nov/Dec 5] Bender Scmidt s formula is u i, j λ(ui, j ui, j ( u i, j (i.e E = (A+C + (- B Here =, =, k = kα = Put = in above formula we get u i, j (ui, j ui, j ui, j A B C D E F (i.e. E = (A+C B t

Name of the Student: Unit I (Solution of Equations and Eigenvalue Problems)

Name of the Student: Unit I (Solution of Equations and Eigenvalue Problems) Engineering Mathematics 8 SUBJECT NAME : Numerical Methods SUBJECT CODE : MA6459 MATERIAL NAME : University Questions REGULATION : R3 UPDATED ON : November 7 (Upto N/D 7 Q.P) (Scan the above Q.R code for

More information

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF MATHEMATICS ACADEMIC YEAR / EVEN SEMESTER QUESTION BANK

KINGS COLLEGE OF ENGINEERING DEPARTMENT OF MATHEMATICS ACADEMIC YEAR / EVEN SEMESTER QUESTION BANK KINGS COLLEGE OF ENGINEERING MA5-NUMERICAL METHODS DEPARTMENT OF MATHEMATICS ACADEMIC YEAR 00-0 / EVEN SEMESTER QUESTION BANK SUBJECT NAME: NUMERICAL METHODS YEAR/SEM: II / IV UNIT - I SOLUTION OF EQUATIONS

More information

Chapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 2. Predictor-Corrector Methods

Chapter 8. Numerical Solution of Ordinary Differential Equations. Module No. 2. Predictor-Corrector Methods Numerical Analysis by Dr. Anita Pal Assistant Professor Department of Matematics National Institute of Tecnology Durgapur Durgapur-7109 email: anita.buie@gmail.com 1 . Capter 8 Numerical Solution of Ordinary

More information

SOLUTION OF EQUATION AND EIGENVALUE PROBLEMS PART A( 2 MARKS)

SOLUTION OF EQUATION AND EIGENVALUE PROBLEMS PART A( 2 MARKS) CHENDU COLLEGE OF ENGINEERING AND TECHNOLOGY (Approved by AICTE New Delhi, Affiliated to Anna University Chennai. Zamin Endathur Village, Madurntakam Taluk, Kancheepuram Dist.-603311.) MA6459 - NUMERICAL

More information

Numerical Analysis MTH603. dy dt = = (0) , y n+1. We obtain yn. Therefore. and. Copyright Virtual University of Pakistan 1

Numerical Analysis MTH603. dy dt = = (0) , y n+1. We obtain yn. Therefore. and. Copyright Virtual University of Pakistan 1 Numerical Analysis MTH60 PREDICTOR CORRECTOR METHOD Te metods presented so far are called single-step metods, were we ave seen tat te computation of y at t n+ tat is y n+ requires te knowledge of y n only.

More information

Numerical Methods. Scientists. Engineers

Numerical Methods. Scientists. Engineers Third Edition Numerical Methods for Scientists and Engineers K. Sankara Rao Numerical Methods for Scientists and Engineers Numerical Methods for Scientists and Engineers Third Edition K. SANKARA RAO Formerly,

More information

Numerical Differentiation

Numerical Differentiation Numerical Differentiation Finite Difference Formulas for te first derivative (Using Taylor Expansion tecnique) (section 8.3.) Suppose tat f() = g() is a function of te variable, and tat as 0 te function

More information

Exact and Approximate Numbers:

Exact and Approximate Numbers: Eact and Approimate Numbers: The numbers that arise in technical applications are better described as eact numbers because there is not the sort of uncertainty in their values that was described above.

More information

Page No.1. MTH603-Numerical Analysis_ Muhammad Ishfaq

Page No.1. MTH603-Numerical Analysis_ Muhammad Ishfaq Page No.1 File Version v1.5.3 Update: (Dated: 3-May-011) This version of file contains: Content of the Course (Done) FAQ updated version.(these must be read once because some very basic definition and

More information

x x x 2x x N ( ) p NUMERICAL METHODS UNIT-I-SOLUTION OF EQUATIONS AND EIGENVALUE PROBLEMS By Newton-Raphson formula

x x x 2x x N ( ) p NUMERICAL METHODS UNIT-I-SOLUTION OF EQUATIONS AND EIGENVALUE PROBLEMS By Newton-Raphson formula NUMERICAL METHODS UNIT-I-SOLUTION OF EQUATIONS AND EIGENVALUE PROBLEMS. If g( is cotiuous i [a,b], te uder wat coditio te iterative (or iteratio metod = g( as a uique solutio i [a,b]? '( i [a,b].. Wat

More information

Numerical Analysis & Computer Programming

Numerical Analysis & Computer Programming ++++++++++ Numerical Analysis & Computer Programming Previous year Questions from 07 to 99 Ramanasri Institute W E B S I T E : M A T H E M A T I C S O P T I O N A L. C O M C O N T A C T : 8 7 5 0 7 0 6

More information

Chapter 4: Numerical Methods for Common Mathematical Problems

Chapter 4: Numerical Methods for Common Mathematical Problems 1 Capter 4: Numerical Metods for Common Matematical Problems Interpolation Problem: Suppose we ave data defined at a discrete set of points (x i, y i ), i = 0, 1,..., N. Often it is useful to ave a smoot

More information

SRI RAMAKRISHNA INSTITUTE OF TECHNOLOGY DEPARTMENT OF SCIENCE & HUMANITIES STATISTICS & NUMERICAL METHODS TWO MARKS

SRI RAMAKRISHNA INSTITUTE OF TECHNOLOGY DEPARTMENT OF SCIENCE & HUMANITIES STATISTICS & NUMERICAL METHODS TWO MARKS SRI RAMAKRISHNA INSTITUTE OF TECHNOLOGY DEPARTMENT OF SCIENCE & HUMANITIES STATISTICS & NUMERICAL METHODS TWO MARKS UNIT-I HYPOTHESIS TESTING 1. What are the applications of distributions? * Test the hypothesis

More information

Polynomial Interpolation

Polynomial Interpolation Capter 4 Polynomial Interpolation In tis capter, we consider te important problem of approximatinga function fx, wose values at a set of distinct points x, x, x,, x n are known, by a polynomial P x suc

More information

= 0 and states ''hence there is a stationary point'' All aspects of the proof dx must be correct (c)

= 0 and states ''hence there is a stationary point'' All aspects of the proof dx must be correct (c) Paper 1: Pure Matematics 1 Mark Sceme 1(a) (i) (ii) d d y 3 1x 4x x M1 A1 d y dx 1.1b 1.1b 36x 48x A1ft 1.1b Substitutes x = into teir dx (3) 3 1 4 Sows d y 0 and states ''ence tere is a stationary point''

More information

MA2264 -NUMERICAL METHODS UNIT V : INITIAL VALUE PROBLEMS FOR ORDINARY DIFFERENTIAL. By Dr.T.Kulandaivel Department of Applied Mathematics SVCE

MA2264 -NUMERICAL METHODS UNIT V : INITIAL VALUE PROBLEMS FOR ORDINARY DIFFERENTIAL. By Dr.T.Kulandaivel Department of Applied Mathematics SVCE MA64 -NUMERICAL METHODS UNIT V : INITIAL VALUE PROBLEMS FOR ORDINARY DIFFERENTIAL EQUATIONS B Dr.T.Kulandaivel Department of Applied Matematics SVCE Numerical ordinar differential equations is te part

More information

LECTURE 14 NUMERICAL INTEGRATION. Find

LECTURE 14 NUMERICAL INTEGRATION. Find LECTURE 14 NUMERCAL NTEGRATON Find b a fxdx or b a vx ux fx ydy dx Often integration is required. However te form of fx may be suc tat analytical integration would be very difficult or impossible. Use

More information

Chapter XI. Solution of Ordinary Differential Equations

Chapter XI. Solution of Ordinary Differential Equations dy d 7 Capter XI Solution of Ordinary Differential Equations Several approaces are described for te solution of ODE (ordinary differential equations). Tese include: Te Taylor series Metod Te Euler Metod

More information

Unit I (Testing of Hypothesis)

Unit I (Testing of Hypothesis) SUBJECT NAME : Statistics and Numerical Methods SUBJECT CODE : MA645 MATERIAL NAME : Part A questions REGULATION : R03 UPDATED ON : November 07 (Upto N/D 07 Q.P) Unit I (Testing of Hypothesis). State level

More information

Mathematical Methods for Numerical Analysis and Optimization

Mathematical Methods for Numerical Analysis and Optimization Biyani's Think Tank Concept based notes Mathematical Methods for Numerical Analysis and Optimization (MCA) Varsha Gupta Poonam Fatehpuria M.Sc. (Maths) Lecturer Deptt. of Information Technology Biyani

More information

M.SC. PHYSICS - II YEAR

M.SC. PHYSICS - II YEAR MANONMANIAM SUNDARANAR UNIVERSITY DIRECTORATE OF DISTANCE & CONTINUING EDUCATION TIRUNELVELI 627012, TAMIL NADU M.SC. PHYSICS - II YEAR DKP26 - NUMERICAL METHODS (From the academic year 2016-17) Most Student

More information

lim 1 lim 4 Precalculus Notes: Unit 10 Concepts of Calculus

lim 1 lim 4 Precalculus Notes: Unit 10 Concepts of Calculus Syllabus Objectives: 1.1 Te student will understand and apply te concept of te limit of a function at given values of te domain. 1. Te student will find te limit of a function at given values of te domain.

More information

Derivatives of Exponentials

Derivatives of Exponentials mat 0 more on derivatives: day 0 Derivatives of Eponentials Recall tat DEFINITION... An eponential function as te form f () =a, were te base is a real number a > 0. Te domain of an eponential function

More information

Consider a function f we ll specify which assumptions we need to make about it in a minute. Let us reformulate the integral. 1 f(x) dx.

Consider a function f we ll specify which assumptions we need to make about it in a minute. Let us reformulate the integral. 1 f(x) dx. Capter 2 Integrals as sums and derivatives as differences We now switc to te simplest metods for integrating or differentiating a function from its function samples. A careful study of Taylor expansions

More information

Applied Numerical Analysis

Applied Numerical Analysis Applied Numerical Analysis Using MATLAB Second Edition Laurene V. Fausett Texas A&M University-Commerce PEARSON Prentice Hall Upper Saddle River, NJ 07458 Contents Preface xi 1 Foundations 1 1.1 Introductory

More information

Subbalakshmi Lakshmipathy College of Science. Department of Mathematics

Subbalakshmi Lakshmipathy College of Science. Department of Mathematics ॐ Subbalakshmi Lakshmipathy College of Science Department of Mathematics As are the crests on the hoods of peacocks, As are the gems on the heads of cobras, So is Mathematics, at the top of all Sciences.

More information

Virtual University of Pakistan

Virtual University of Pakistan Virtual University of Pakistan File Version v.0.0 Prepared For: Final Term Note: Use Table Of Content to view the Topics, In PDF(Portable Document Format) format, you can check Bookmarks menu Disclaimer:

More information

MATHEMATICAL METHODS INTERPOLATION

MATHEMATICAL METHODS INTERPOLATION MATHEMATICAL METHODS INTERPOLATION I YEAR BTech By Mr Y Prabhaker Reddy Asst Professor of Mathematics Guru Nanak Engineering College Ibrahimpatnam, Hyderabad SYLLABUS OF MATHEMATICAL METHODS (as per JNTU

More information

Continuity and Differentiability Worksheet

Continuity and Differentiability Worksheet Continuity and Differentiability Workseet (Be sure tat you can also do te grapical eercises from te tet- Tese were not included below! Typical problems are like problems -3, p. 6; -3, p. 7; 33-34, p. 7;

More information

STATISTICS AND NUMERICAL METHODS

STATISTICS AND NUMERICAL METHODS STATISTICS AND NUMERICAL METHODS Question IV November / December 2011 Part-A 1. The heights of college students in Chennai are normally distributed with standard deviation 6 cm and sample of 100 students

More information

SECTION 3.2: DERIVATIVE FUNCTIONS and DIFFERENTIABILITY

SECTION 3.2: DERIVATIVE FUNCTIONS and DIFFERENTIABILITY (Section 3.2: Derivative Functions and Differentiability) 3.2.1 SECTION 3.2: DERIVATIVE FUNCTIONS and DIFFERENTIABILITY LEARNING OBJECTIVES Know, understand, and apply te Limit Definition of te Derivative

More information

Polynomial Interpolation

Polynomial Interpolation Capter 4 Polynomial Interpolation In tis capter, we consider te important problem of approximating a function f(x, wose values at a set of distinct points x, x, x 2,,x n are known, by a polynomial P (x

More information

PARTIAL DIFFERENTIAL EQUATIONS

PARTIAL DIFFERENTIAL EQUATIONS MATHEMATICAL METHODS PARTIAL DIFFERENTIAL EQUATIONS I YEAR B.Tech By Mr. Y. Prabhaker Reddy Asst. Professor of Mathematics Guru Nanak Engineering College Ibrahimpatnam, Hyderabad. SYLLABUS OF MATHEMATICAL

More information

Preface. 2 Linear Equations and Eigenvalue Problem 22

Preface. 2 Linear Equations and Eigenvalue Problem 22 Contents Preface xv 1 Errors in Computation 1 1.1 Introduction 1 1.2 Floating Point Representation of Number 1 1.3 Binary Numbers 2 1.3.1 Binary number representation in computer 3 1.4 Significant Digits

More information

Exercises for numerical differentiation. Øyvind Ryan

Exercises for numerical differentiation. Øyvind Ryan Exercises for numerical differentiation Øyvind Ryan February 25, 2013 1. Mark eac of te following statements as true or false. a. Wen we use te approximation f (a) (f (a +) f (a))/ on a computer, we can

More information

Pre-Calculus Review Preemptive Strike

Pre-Calculus Review Preemptive Strike Pre-Calculus Review Preemptive Strike Attaced are some notes and one assignment wit tree parts. Tese are due on te day tat we start te pre-calculus review. I strongly suggest reading troug te notes torougly

More information

Computational Methods

Computational Methods Numerical Computational Methods Revised Edition P. B. Patil U. P. Verma Alpha Science International Ltd. Oxford, U.K. CONTENTS Preface List ofprograms v vii 1. NUMER1CAL METHOD, ERROR AND ALGORITHM 1 1.1

More information

3.1 Extreme Values of a Function

3.1 Extreme Values of a Function .1 Etreme Values of a Function Section.1 Notes Page 1 One application of te derivative is finding minimum and maimum values off a grap. In precalculus we were only able to do tis wit quadratics by find

More information

MATH745 Fall MATH745 Fall

MATH745 Fall MATH745 Fall MATH745 Fall 5 MATH745 Fall 5 INTRODUCTION WELCOME TO MATH 745 TOPICS IN NUMERICAL ANALYSIS Instructor: Dr Bartosz Protas Department of Matematics & Statistics Email: bprotas@mcmasterca Office HH 36, Ext

More information

Click here to see an animation of the derivative

Click here to see an animation of the derivative Differentiation Massoud Malek Derivative Te concept of derivative is at te core of Calculus; It is a very powerful tool for understanding te beavior of matematical functions. It allows us to optimize functions,

More information

The total error in numerical differentiation

The total error in numerical differentiation AMS 147 Computational Metods and Applications Lecture 08 Copyrigt by Hongyun Wang, UCSC Recap: Loss of accuracy due to numerical cancellation A B 3, 3 ~10 16 In calculating te difference between A and

More information

SFU UBC UNBC Uvic Calculus Challenge Examination June 5, 2008, 12:00 15:00

SFU UBC UNBC Uvic Calculus Challenge Examination June 5, 2008, 12:00 15:00 SFU UBC UNBC Uvic Calculus Callenge Eamination June 5, 008, :00 5:00 Host: SIMON FRASER UNIVERSITY First Name: Last Name: Scool: Student signature INSTRUCTIONS Sow all your work Full marks are given only

More information

The Laplace equation, cylindrically or spherically symmetric case

The Laplace equation, cylindrically or spherically symmetric case Numerisce Metoden II, 7 4, und Übungen, 7 5 Course Notes, Summer Term 7 Some material and exercises Te Laplace equation, cylindrically or sperically symmetric case Electric and gravitational potential,

More information

Solutions to the Multivariable Calculus and Linear Algebra problems on the Comprehensive Examination of January 31, 2014

Solutions to the Multivariable Calculus and Linear Algebra problems on the Comprehensive Examination of January 31, 2014 Solutions to te Multivariable Calculus and Linear Algebra problems on te Compreensive Examination of January 3, 24 Tere are 9 problems ( points eac, totaling 9 points) on tis portion of te examination.

More information

Finite Difference Method

Finite Difference Method Capter 8 Finite Difference Metod 81 2nd order linear pde in two variables General 2nd order linear pde in two variables is given in te following form: L[u] = Au xx +2Bu xy +Cu yy +Du x +Eu y +Fu = G According

More information

Previous Year Questions & Detailed Solutions

Previous Year Questions & Detailed Solutions Previous Year Questions & Detailed Solutions. The rate of convergence in the Gauss-Seidal method is as fast as in Gauss Jacobi smethod ) thrice ) half-times ) twice 4) three by two times. In application

More information

Chapter 2. Limits and Continuity 16( ) 16( 9) = = 001. Section 2.1 Rates of Change and Limits (pp ) Quick Review 2.1

Chapter 2. Limits and Continuity 16( ) 16( 9) = = 001. Section 2.1 Rates of Change and Limits (pp ) Quick Review 2.1 Capter Limits and Continuity Section. Rates of Cange and Limits (pp. 969) Quick Review..... f ( ) ( ) ( ) 0 ( ) f ( ) f ( ) sin π sin π 0 f ( ). < < < 6. < c c < < c 7. < < < < < 8. 9. 0. c < d d < c

More information

Differential equations. Differential equations

Differential equations. Differential equations Differential equations A differential equation (DE) describes ow a quantity canges (as a function of time, position, ) d - A ball dropped from a building: t gt () dt d S qx - Uniformly loaded beam: wx

More information

REVIEW LAB ANSWER KEY

REVIEW LAB ANSWER KEY REVIEW LAB ANSWER KEY. Witout using SN, find te derivative of eac of te following (you do not need to simplify your answers): a. f x 3x 3 5x x 6 f x 3 3x 5 x 0 b. g x 4 x x x notice te trick ere! x x g

More information

University Mathematics 2

University Mathematics 2 University Matematics 2 1 Differentiability In tis section, we discuss te differentiability of functions. Definition 1.1 Differentiable function). Let f) be a function. We say tat f is differentiable at

More information

1 The concept of limits (p.217 p.229, p.242 p.249, p.255 p.256) 1.1 Limits Consider the function determined by the formula 3. x since at this point

1 The concept of limits (p.217 p.229, p.242 p.249, p.255 p.256) 1.1 Limits Consider the function determined by the formula 3. x since at this point MA00 Capter 6 Calculus and Basic Linear Algebra I Limits, Continuity and Differentiability Te concept of its (p.7 p.9, p.4 p.49, p.55 p.56). Limits Consider te function determined by te formula f Note

More information

Chapter 2 Limits and Continuity

Chapter 2 Limits and Continuity 4 Section. Capter Limits and Continuity Section. Rates of Cange and Limits (pp. 6) Quick Review.. f () ( ) () 4 0. f () 4( ) 4. f () sin sin 0 4. f (). 4 4 4 6. c c c 7. 8. c d d c d d c d c 9. 8 ( )(

More information

x x2 2 + x3 3 x4 3. Use the divided-difference method to find a polynomial of least degree that fits the values shown: (b)

x x2 2 + x3 3 x4 3. Use the divided-difference method to find a polynomial of least degree that fits the values shown: (b) Numerical Methods - PROBLEMS. The Taylor series, about the origin, for log( + x) is x x2 2 + x3 3 x4 4 + Find an upper bound on the magnitude of the truncation error on the interval x.5 when log( + x)

More information

NUMERICAL DIFFERENTIATION

NUMERICAL DIFFERENTIATION NUMERICAL IFFERENTIATION FIRST ERIVATIVES Te simplest difference formulas are based on using a straigt line to interpolate te given data; tey use two data pints to estimate te derivative. We assume tat

More information

KINGS COLLEGE OF ENGINEERING

KINGS COLLEGE OF ENGINEERING MA54 STATISTICS AND NUMERICAL METHODS KINGS COLLEGE OF ENGINEERING DEPARTMENT OF MATHEMATICS ACADEMIC YEAR - / EVEN SEMESTER QUESTION BANK SUBJECT NAME: STATISTICS AND NUMERICAL METHODS YEAR/SEM: II/IV

More information

Exercises Copyright Houghton Mifflin Company. All rights reserved. EXERCISES {x 0 x < 6} 3. {x x 2} 2

Exercises Copyright Houghton Mifflin Company. All rights reserved. EXERCISES {x 0 x < 6} 3. {x x 2} 2 Eercises. CHAPTER Functions EXERCISES.. { 0 < 6}. a. Since and m, ten y, te cange in y, is y m. { } 7. For (, ) and (, ), te slope is Since and m, ten y, te cange in y, is y m 0 9. For (, 0) and (, ),

More information

Parameter Fitted Scheme for Singularly Perturbed Delay Differential Equations

Parameter Fitted Scheme for Singularly Perturbed Delay Differential Equations International Journal of Applied Science and Engineering 2013. 11, 4: 361-373 Parameter Fitted Sceme for Singularly Perturbed Delay Differential Equations Awoke Andargiea* and Y. N. Reddyb a b Department

More information

NUMERICAL ANALYSIS SYLLABUS MATHEMATICS PAPER IV (A)

NUMERICAL ANALYSIS SYLLABUS MATHEMATICS PAPER IV (A) NUMERICAL ANALYSIS SYLLABUS MATHEMATICS PAPER IV (A) Unit - 1 Errors & Their Accuracy Solutions of Algebraic and Transcendental Equations Bisection Method The method of false position The iteration method

More information

(5.5) Multistep Methods

(5.5) Multistep Methods (5.5) Mulstep Metods Consider te inial-value problem for te ordinary differenal equaon: y t f t, y, a t b, y a. Let y t be te unique soluon. In Secons 5., 5. and 5.4, one-step numerical metods: Euler Metod,

More information

Research Article Cubic Spline Iterative Method for Poisson s Equation in Cylindrical Polar Coordinates

Research Article Cubic Spline Iterative Method for Poisson s Equation in Cylindrical Polar Coordinates International Scolarly Researc Network ISRN Matematical Pysics Volume 202, Article ID 2456, pages doi:0.5402/202/2456 Researc Article Cubic Spline Iterative Metod for Poisson s Equation in Cylindrical

More information

New Fourth Order Quartic Spline Method for Solving Second Order Boundary Value Problems

New Fourth Order Quartic Spline Method for Solving Second Order Boundary Value Problems MATEMATIKA, 2015, Volume 31, Number 2, 149 157 c UTM Centre for Industrial Applied Matematics New Fourt Order Quartic Spline Metod for Solving Second Order Boundary Value Problems 1 Osama Ala yed, 2 Te

More information

The Derivative as a Function

The Derivative as a Function Section 2.2 Te Derivative as a Function 200 Kiryl Tsiscanka Te Derivative as a Function DEFINITION: Te derivative of a function f at a number a, denoted by f (a), is if tis limit exists. f (a) f(a + )

More information

Taylor Series and the Mean Value Theorem of Derivatives

Taylor Series and the Mean Value Theorem of Derivatives 1 - Taylor Series and te Mean Value Teorem o Derivatives Te numerical solution o engineering and scientiic problems described by matematical models oten requires solving dierential equations. Dierential

More information

ENGINEERING MATHEMATICS I. CODE: 10 MAT 11 IA Marks: 25 Hrs/Week: 04 Exam Hrs: 03 PART-A

ENGINEERING MATHEMATICS I. CODE: 10 MAT 11 IA Marks: 25 Hrs/Week: 04 Exam Hrs: 03 PART-A ENGINEERING MATHEMATICS I CODE: 10 MAT 11 IA Marks: 25 Hrs/Week: 04 Exam Hrs: 03 Total Hrs: 52 Exam Marks:100 PART-A Unit-I: DIFFERENTIAL CALCULUS - 1 Determination of n th derivative of standard functions-illustrative

More information

Finite Difference Methods Assignments

Finite Difference Methods Assignments Finite Difference Metods Assignments Anders Söberg and Aay Saxena, Micael Tuné, and Maria Westermarck Revised: Jarmo Rantakokko June 6, 1999 Teknisk databeandling Assignment 1: A one-dimensional eat equation

More information

Lecture 21. Numerical differentiation. f ( x+h) f ( x) h h

Lecture 21. Numerical differentiation. f ( x+h) f ( x) h h Lecture Numerical differentiation Introduction We can analytically calculate te derivative of any elementary function, so tere migt seem to be no motivation for calculating derivatives numerically. However

More information

Review. Numerical Methods Lecture 22. Prof. Jinbo Bi CSE, UConn

Review. Numerical Methods Lecture 22. Prof. Jinbo Bi CSE, UConn Review Taylor Series and Error Analysis Roots of Equations Linear Algebraic Equations Optimization Numerical Differentiation and Integration Ordinary Differential Equations Partial Differential Equations

More information

Some Review Problems for First Midterm Mathematics 1300, Calculus 1

Some Review Problems for First Midterm Mathematics 1300, Calculus 1 Some Review Problems for First Midterm Matematics 00, Calculus. Consider te trigonometric function f(t) wose grap is sown below. Write down a possible formula for f(t). Tis function appears to be an odd,

More information

Lecture 15. Interpolation II. 2 Piecewise polynomial interpolation Hermite splines

Lecture 15. Interpolation II. 2 Piecewise polynomial interpolation Hermite splines Lecture 5 Interpolation II Introduction In te previous lecture we focused primarily on polynomial interpolation of a set of n points. A difficulty we observed is tat wen n is large, our polynomial as to

More information

Math 102 TEST CHAPTERS 3 & 4 Solutions & Comments Fall 2006

Math 102 TEST CHAPTERS 3 & 4 Solutions & Comments Fall 2006 Mat 102 TEST CHAPTERS 3 & 4 Solutions & Comments Fall 2006 f(x+) f(x) 10 1. For f(x) = x 2 + 2x 5, find ))))))))) and simplify completely. NOTE: **f(x+) is NOT f(x)+! f(x+) f(x) (x+) 2 + 2(x+) 5 ( x 2

More information

Combining functions: algebraic methods

Combining functions: algebraic methods Combining functions: algebraic metods Functions can be added, subtracted, multiplied, divided, and raised to a power, just like numbers or algebra expressions. If f(x) = x 2 and g(x) = x + 2, clearly f(x)

More information

NON STANDARD FITTED FINITE DIFFERENCE METHOD FOR SINGULAR PERTURBATION PROBLEMS USING CUBIC SPLINE

NON STANDARD FITTED FINITE DIFFERENCE METHOD FOR SINGULAR PERTURBATION PROBLEMS USING CUBIC SPLINE Global and Stocastic Analysis Vol. 4 No. 1, January 2017, 1-10 NON STANDARD FITTED FINITE DIFFERENCE METHOD FOR SINGULAR PERTURBATION PROBLEMS USING CUBIC SPLINE K. PHANEENDRA AND E. SIVA PRASAD Abstract.

More information

How to Find the Derivative of a Function: Calculus 1

How to Find the Derivative of a Function: Calculus 1 Introduction How to Find te Derivative of a Function: Calculus 1 Calculus is not an easy matematics course Te fact tat you ave enrolled in suc a difficult subject indicates tat you are interested in te

More information

1 Calculus. 1.1 Gradients and the Derivative. Q f(x+h) f(x)

1 Calculus. 1.1 Gradients and the Derivative. Q f(x+h) f(x) Calculus. Gradients and te Derivative Q f(x+) δy P T δx R f(x) 0 x x+ Let P (x, f(x)) and Q(x+, f(x+)) denote two points on te curve of te function y = f(x) and let R denote te point of intersection of

More information

11-19 PROGRESSION. A level Mathematics. Pure Mathematics

11-19 PROGRESSION. A level Mathematics. Pure Mathematics SSaa m m pplle e UCa ni p t ter DD iff if erfe enren tiatia tiotio nn - 9 RGRSSIN decel Slevel andmatematics level Matematics ure Matematics NW FR 07 Year/S Year decel S and level Matematics Sample material

More information

2.8 The Derivative as a Function

2.8 The Derivative as a Function .8 Te Derivative as a Function Typically, we can find te derivative of a function f at many points of its domain: Definition. Suppose tat f is a function wic is differentiable at every point of an open

More information

HOMEWORK HELP 2 FOR MATH 151

HOMEWORK HELP 2 FOR MATH 151 HOMEWORK HELP 2 FOR MATH 151 Here we go; te second round of omework elp. If tere are oters you would like to see, let me know! 2.4, 43 and 44 At wat points are te functions f(x) and g(x) = xf(x)continuous,

More information

MTH603 FAQ + Short Questions Answers.

MTH603 FAQ + Short Questions Answers. Absolute Error : Accuracy : The absolute error is used to denote the actual value of a quantity less it s rounded value if x and x* are respectively the rounded and actual values of a quantity, then absolute

More information

Exam 1 Review Solutions

Exam 1 Review Solutions Exam Review Solutions Please also review te old quizzes, and be sure tat you understand te omework problems. General notes: () Always give an algebraic reason for your answer (graps are not sufficient),

More information

232 Calculus and Structures

232 Calculus and Structures 3 Calculus and Structures CHAPTER 17 JUSTIFICATION OF THE AREA AND SLOPE METHODS FOR EVALUATING BEAMS Calculus and Structures 33 Copyrigt Capter 17 JUSTIFICATION OF THE AREA AND SLOPE METHODS 17.1 THE

More information

Chapter 5 FINITE DIFFERENCE METHOD (FDM)

Chapter 5 FINITE DIFFERENCE METHOD (FDM) MEE7 Computer Modeling Tecniques in Engineering Capter 5 FINITE DIFFERENCE METHOD (FDM) 5. Introduction to FDM Te finite difference tecniques are based upon approximations wic permit replacing differential

More information

The derivative function

The derivative function Roberto s Notes on Differential Calculus Capter : Definition of derivative Section Te derivative function Wat you need to know already: f is at a point on its grap and ow to compute it. Wat te derivative

More information

Test 2 Review. 1. Find the determinant of the matrix below using (a) cofactor expansion and (b) row reduction. A = 3 2 =

Test 2 Review. 1. Find the determinant of the matrix below using (a) cofactor expansion and (b) row reduction. A = 3 2 = Test Review Find te determinant of te matrix below using (a cofactor expansion and (b row reduction Answer: (a det + = (b Observe R R R R R R R R R Ten det B = (((det Hence det Use Cramer s rule to solve:

More information

CS522 - Partial Di erential Equations

CS522 - Partial Di erential Equations CS5 - Partial Di erential Equations Tibor Jánosi April 5, 5 Numerical Di erentiation In principle, di erentiation is a simple operation. Indeed, given a function speci ed as a closed-form formula, its

More information

Runge-Kutta methods. With orders of Taylor methods yet without derivatives of f (t, y(t))

Runge-Kutta methods. With orders of Taylor methods yet without derivatives of f (t, y(t)) Runge-Kutta metods Wit orders of Taylor metods yet witout derivatives of f (t, y(t)) First order Taylor expansion in two variables Teorem: Suppose tat f (t, y) and all its partial derivatives are continuous

More information

NUMERICAL DIFFERENTIATION. James T. Smith San Francisco State University. In calculus classes, you compute derivatives algebraically: for example,

NUMERICAL DIFFERENTIATION. James T. Smith San Francisco State University. In calculus classes, you compute derivatives algebraically: for example, NUMERICAL DIFFERENTIATION James T Smit San Francisco State University In calculus classes, you compute derivatives algebraically: for example, f( x) = x + x f ( x) = x x Tis tecnique requires your knowing

More information

Final Year M.Sc., Degree Examinations

Final Year M.Sc., Degree Examinations QP CODE 569 Page No Final Year MSc, Degree Examinations September / October 5 (Directorate of Distance Education) MATHEMATICS Paper PM 5: DPB 5: COMPLEX ANALYSIS Time: 3hrs] [Max Marks: 7/8 Instructions

More information

du(l) 5 dl = U(0) = 1 and 1.) Substitute for U an unspecified trial function into governing equation, i.e. dx + = =

du(l) 5 dl = U(0) = 1 and 1.) Substitute for U an unspecified trial function into governing equation, i.e. dx + = = Consider an ODE of te form: Finite Element Metod du fu g d + wit te following Boundary Conditions: U(0) and du(l) 5 dl.) Substitute for U an unspecified trial function into governing equation, i.e. ^ U

More information

MAT244 - Ordinary Di erential Equations - Summer 2016 Assignment 2 Due: July 20, 2016

MAT244 - Ordinary Di erential Equations - Summer 2016 Assignment 2 Due: July 20, 2016 MAT244 - Ordinary Di erential Equations - Summer 206 Assignment 2 Due: July 20, 206 Full Name: Student #: Last First Indicate wic Tutorial Section you attend by filling in te appropriate circle: Tut 0

More information

1. Which one of the following expressions is not equal to all the others? 1 C. 1 D. 25x. 2. Simplify this expression as much as possible.

1. Which one of the following expressions is not equal to all the others? 1 C. 1 D. 25x. 2. Simplify this expression as much as possible. 004 Algebra Pretest answers and scoring Part A. Multiple coice questions. Directions: Circle te letter ( A, B, C, D, or E ) net to te correct answer. points eac, no partial credit. Wic one of te following

More information

Blanca Bujanda, Juan Carlos Jorge NEW EFFICIENT TIME INTEGRATORS FOR NON-LINEAR PARABOLIC PROBLEMS

Blanca Bujanda, Juan Carlos Jorge NEW EFFICIENT TIME INTEGRATORS FOR NON-LINEAR PARABOLIC PROBLEMS Opuscula Matematica Vol. 26 No. 3 26 Blanca Bujanda, Juan Carlos Jorge NEW EFFICIENT TIME INTEGRATORS FOR NON-LINEAR PARABOLIC PROBLEMS Abstract. In tis work a new numerical metod is constructed for time-integrating

More information

Flavius Guiaş. X(t + h) = X(t) + F (X(s)) ds.

Flavius Guiaş. X(t + h) = X(t) + F (X(s)) ds. Numerical solvers for large systems of ordinary differential equations based on te stocastic direct simulation metod improved by te and Runge Kutta principles Flavius Guiaş Abstract We present a numerical

More information

5.1 We will begin this section with the definition of a rational expression. We

5.1 We will begin this section with the definition of a rational expression. We Basic Properties and Reducing to Lowest Terms 5.1 We will begin tis section wit te definition of a rational epression. We will ten state te two basic properties associated wit rational epressions and go

More information

INTRODUCTION AND MATHEMATICAL CONCEPTS

INTRODUCTION AND MATHEMATICAL CONCEPTS Capter 1 INTRODUCTION ND MTHEMTICL CONCEPTS PREVIEW Tis capter introduces you to te basic matematical tools for doing pysics. You will study units and converting between units, te trigonometric relationsips

More information

Fundamental Numerical Methods for Electrical Engineering

Fundamental Numerical Methods for Electrical Engineering Stanislaw Rosloniec Fundamental Numerical Methods for Electrical Engineering 4y Springei Contents Introduction xi 1 Methods for Numerical Solution of Linear Equations 1 1.1 Direct Methods 5 1.1.1 The Gauss

More information

Lecture XVII. Abstract We introduce the concept of directional derivative of a scalar function and discuss its relation with the gradient operator.

Lecture XVII. Abstract We introduce the concept of directional derivative of a scalar function and discuss its relation with the gradient operator. Lecture XVII Abstract We introduce te concept of directional derivative of a scalar function and discuss its relation wit te gradient operator. Directional derivative and gradient Te directional derivative

More information

Numerical Methods for Engineers and Scientists

Numerical Methods for Engineers and Scientists Numerical Methods for Engineers and Scientists Second Edition Revised and Expanded Joe D. Hoffman Department of Mechanical Engineering Purdue University West Lafayette, Indiana m MARCEL D E К К E R MARCEL

More information

LIMITS AND DERIVATIVES CONDITIONS FOR THE EXISTENCE OF A LIMIT

LIMITS AND DERIVATIVES CONDITIONS FOR THE EXISTENCE OF A LIMIT LIMITS AND DERIVATIVES Te limit of a function is defined as te value of y tat te curve approaces, as x approaces a particular value. Te limit of f (x) as x approaces a is written as f (x) approaces, as

More information

lecture 26: Richardson extrapolation

lecture 26: Richardson extrapolation 43 lecture 26: Ricardson extrapolation 35 Ricardson extrapolation, Romberg integration Trougout numerical analysis, one encounters procedures tat apply some simple approximation (eg, linear interpolation)

More information

2.1 THE DEFINITION OF DERIVATIVE

2.1 THE DEFINITION OF DERIVATIVE 2.1 Te Derivative Contemporary Calculus 2.1 THE DEFINITION OF DERIVATIVE 1 Te grapical idea of a slope of a tangent line is very useful, but for some uses we need a more algebraic definition of te derivative

More information