Numerical and Statistical Methods

Similar documents
Numerical and Statistical Methods

M.SC. PHYSICS - II YEAR

Virtual University of Pakistan

Subbalakshmi Lakshmipathy College of Science. Department of Mathematics

NUMERICAL METHODS. x n+1 = 2x n x 2 n. In particular: which of them gives faster convergence, and why? [Work to four decimal places.

Hence a root lies between 1 and 2. Since f a is negative and f(x 0 ) is positive The root lies between a and x 0 i.e. 1 and 1.

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

BACHELOR OF COMPUTER APPLICATIONS (BCA) (Revised) Term-End Examination December, 2015 BCS-054 : COMPUTER ORIENTED NUMERICAL TECHNIQUES

Exact and Approximate Numbers:

Unit I (Testing of Hypothesis)

INSTITUTE OF AERONAUTICAL ENGINEERING (Autonomous) Dundigal, Hyderabad

INSTITUTE OF AERONAUTICAL ENGINEERING Dundigal, Hyderabad MECHANICAL ENGINEERING TUTORIAL QUESTION BANK

Question Bank (I scheme )

Numerical Analysis Solution of Algebraic Equation (non-linear equation) 1- Trial and Error. 2- Fixed point

Engineering Mathematics

UNIT - 2 Unit-02/Lecture-01

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

Engg. Math. II (Unit-IV) Numerical Analysis

NUMERICAL ANALYSIS SYLLABUS MATHEMATICS PAPER IV (A)

SBAME CALCULUS OF FINITE DIFFERENCES AND NUMERICAL ANLAYSIS-I Units : I-V

Mathematical Methods for Numerical Analysis and Optimization

AIMS Exercise Set # 1

Numerical Methods. Scientists. Engineers

SOLUTION OF ALGEBRAIC AND TRANSCENDENTAL EQUATIONS BISECTION METHOD

MTH603 FAQ + Short Questions Answers.

Solution of Algebric & Transcendental Equations

MALLA REDDY ENGINEERING COLLEGE

Numerical Analysis & Computer Programming

Department of Applied Mathematics and Theoretical Physics. AMA 204 Numerical analysis. Exam Winter 2004

Program : M.A./M.Sc. (Mathematics) M.A./M.Sc. (Final) Paper Code:MT-08 Numerical Analysis Section A (Very Short Answers Questions)

USHA RAMA COLLEGE OF ENGINEERING & TECHNOLOGY

Previous Year Questions & Detailed Solutions

2. A die is rolled 3 times, the probability of getting a number larger than the previous number each time is

NUMERICAL AND STATISTICAL COMPUTING (MCA-202-CR)

Zeroes of Transcendental and Polynomial Equations. Bisection method, Regula-falsi method and Newton-Raphson method

TABLE OF CONTENTS INTRODUCTION, APPROXIMATION & ERRORS 1. Chapter Introduction to numerical methods 1 Multiple-choice test 7 Problem set 9

Math 473: Practice Problems for Test 1, Fall 2011, SOLUTIONS

CO-ORDINATE GEOMETRY

12 STD BUSINESS MATHEMATICS

Math Numerical Analysis Mid-Term Test Solutions

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

UNIT II SOLUTION OF NON-LINEAR AND SIMULTANEOUS LINEAR EQUATION

PLC Papers. Created For:

Solution of Nonlinear Equations

Introduction to Numerical Analysis

Engineering Mathematics through Applications

Contraction Mappings Consider the equation

Page No.1. MTH603-Numerical Analysis_ Muhammad Ishfaq

STATISTICS AND NUMERICAL METHODS

MATH 2053 Calculus I Review for the Final Exam

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

Numerical Analysis MTH603

SAZ3C NUMERICAL AND STATISTICAL METHODS Unit : I -V

Computational Methods

Jim Lambers MAT 460/560 Fall Semester Practice Final Exam

Tutorial 1, B. Tech. Sem III, 24 July, (Root Findings and Linear System of Equations)

School of Sciences Indira Gandhi National Open University Maidan Garhi, New Delhi (For January 2012 cycle)

Preface. 2 Linear Equations and Eigenvalue Problem 22

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

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)

Name Class. (a) (b) (c) 4 t4 3 C

B.Tech. Theory Examination (Semester IV) Engineering Mathematics III

Numerical Analysis MTH603. Virtual University of Pakistan Knowledge beyond the boundaries

Notes on floating point number, numerical computations and pitfalls

KINGS COLLEGE OF ENGINEERING

Numerical Methods. King Saud University

GENG2140, S2, 2012 Week 7: Curve fitting

(f(x) P 3 (x)) dx. (a) The Lagrange formula for the error is given by

MATHEMATICAL METHODS INTERPOLATION

Root Finding: Close Methods. Bisection and False Position Dr. Marco A. Arocha Aug, 2014

Fourth Order RK-Method

Taylor Series and Numerical Approximations

CHAPTER 1 INTRODUCTION TO NUMERICAL METHOD

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

Lecture 28 The Main Sources of Error

LECTURE NOTES ELEMENTARY NUMERICAL METHODS. Eusebius Doedel

Numerical methods. Examples with solution

SCHEME OF WORK FOR LEVEL 5 MECHANICAL ENGINEERING

Edexcel GCE Further Pure Mathematics (FP1) Required Knowledge Information Sheet. Daniel Hammocks

SLOW LEARNERS MATERIALS BUSINESS MATHEMATICS SIX MARKS QUESTIONS

Chapter 4. Solution of Non-linear Equation. Module No. 1. Newton s Method to Solve Transcendental Equation

An Overly Simplified and Brief Review of Differential Equation Solution Methods. 1. Some Common Exact Solution Methods for Differential Equations

Applied Numerical Analysis

Calculus I Practice Final Exam B

Lecture 7: Sections 2.3 and 2.4 Rational and Exponential Functions. Recall that a power function has the form f(x) = x r where r is a real number.

PART I Lecture Notes on Numerical Solution of Root Finding Problems MATH 435

WEST BENGAL STATE UNIVERSITY B.Sc. Honours PART-II Examinations, 2017

Differential Equations

Root Finding (and Optimisation)

Chapter 5: Numerical Integration and Differentiation

SET-A U/2015/16/II/A

Math Exam III - Spring

Find all points where the function is discontinuous. 1) Find all vertical asymptotes of the given function. x(x - 1) 2) f(x) =

The iteration formula for to find the root of the equation

Numerical Analysis: Solving Nonlinear Equations

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

PARTIAL DIFFERENTIAL EQUATIONS

MA1023-Methods of Mathematics-15S2 Tutorial 1

Examination paper for TMA4125 Matematikk 4N

Core Mathematics C12

Transcription:

F.Y. B.Sc.(IT) : Sem. II Numerical and Statistical Methods Time : ½ Hrs.] Prelim Question Paper Solution [Marks : 75 Q. Attempt any THREE of the following : [5] Q.(a) What is a mathematical model? With the help of a flowchart, explain the of solving an engineering problem. Ans.: A mathematical model can be broadly defined as a formulation or equation that expresses the essential features of a physical system or process in mathematical terms. In a very general sense, it can be represented as a functional relationship of the form : indepdent forcing Dependent variable f, parameters, () variables functions where the dependent variable is a characteristic that usually reflects the behavior or state of the system; the independent variables are usually dimensions, such as time and space, along which the system s behavior is being determined; the parameters are reflective of the system s properties or composition; and the forcing functions are external influences acting upon the system. The actual mathematical expression of Eq. () can range from a simple algebraic relationship to large complicated sets of differential equations. For example, on the basis of his observations, Newton formulated his second law of motion, which states that the time rate of change of momentum of a body is equal to the resultant force acting on it. The mathematical expression, or model, of the second law is the well-known equation F ma () where F net force acting on the body (N, or kg m/s ), m mass of the object (kg), and a its acceleration (m/s )

Vidyalankar : F.Y. B.Sc. (IT) NSM Q.(b) Explain the terms : (i) Significant figures, (ii) Accuracy, (iii) Precision, (iv) Truncation error, (v) Round-off error Ans.: (i) Significant figures : The concept of a significant figure or digit has been developed to formally designate the reliability of a numerical value. The significant digits of a number are those that can be used with confidence. (ii) Accuracy : Accuracy refers to how closely a computed or measured value agrees with a true value. (iii) Precision : Precision refers to how closely individual computed or measured values agree with each other. (iv) Truncation error : These errors are generated when only required significant digits are retained in the number and remaining are discarded. (v) Round-off error : Rounding off errors are errors arising from the process of rounding off during computation. Q.(c) Suppose that you have the task of measuring the lengths of a bridge and a rivet and come up with 9999 and 9 cm, respectively. If the true values are, and cm, respectively, compute (i) the true error and (ii) the true percent relative error for each case. Ans.: (i) The error for measuring the bridge is Error True value Approximate value For bridge, 9,999 cm For rivet 9 cm (ii) The percent relative error for the bridge is (Truevalueapprox.value) (E R ) Truevalue (E P ) (, 9, 999), % error E P.. % Relative Error for rivet 9 (E R ). % Error (E P ). %,. Q.(d) Use zero-through fourth-order Taylor series expansions to approximate the function f(x).x 4.5x 3.5x.5x +. from x i with h. That is, predict the function's value at x i+. Ans.: Because we are dealing with a known function, we can compute values for f(x) between and. The results indicate that the function starts at f(). and then curves downward to f().. Thus, the true value that we are trying to predict is.. The Taylor series approximation with n is f(x i ).

Prelim Question Paper Solution Q.(e) Evaluate and interpret the condition number for sin x f(x) for x. cosx sin x uv vu u sin x Ans.: f(x) cosx v v + cos x x. f(. ) 6366. f(. ).5 7 f'(x).97 f(x) Q.(f) Evaluate e 5 using the two formulae : e x 3 4 x x x x +...! 3! 4! and e x e x 3 4 x x x x... 3! 4! and compare with the true value 6.737947 3. Use five terms to evaluate each series and compute true and approximate relative errors as terms are added. Ans.: e 5 3 4 (5) 5 5 5 5 55 5 + 5 3.783! 3! 43 6 4 e 5 5 3 4 e 5 5 5 5 5 65 5 5! 3! 4! 6 4! 65.375.596 Error for first formula True value Approximate value 6.737947 3 3.7833 37.59 Error while using second formula : True Value Approximate Value 6.737947 3.596.85 Q. Attempt any THREE of the following: [5] Q.(a) Find the roots of the equation x 3.x + 7.45x + 4 using Regula-Falsi method correct up to 4 decimal places. Ans.: f() () 3.() + 7.45() + 4 33.() + 7.45() + 4 33 476. + 8.95 + 4.5 f() () 3.() + 7.45() + 4 78 756.8 + 89.4 + 4.6 f() f() < a, b af[b] bf[a] (.6) (.5) x f[b] f[a].6 (.5) 8.655 3.85 383.6 3.85.75 3

Vidyalankar : F.Y. B.Sc. (IT) NSM x.75 f(x ) f(.7) (.7) 3.(.7) + 7.45(.7) + 4 394. 5.4 + 83. + 4 3.8 f(.7) f() < a.7, b f(a) 3.8, f(b).6 af[b] bf[a] (.7) (.6) () ( 3.8) x f[b] f[a].6 ( 3.8) 46.438.6.63.8 84.3 5.78.958 f(x ) f(.958) (.95) 3.(.95) + 7.45(.95) + 4 43. 59. + 83.4 + 4.6 f(.95) f() <, a.95, b f(a).6, f(b).6 af[b] bf[a] (.95) (.6) () (.6) x 3 f[b] f[a] (.6) (.6) 48.6 7. x 3.996 3. x.75 x.958 x 3.996 approximate root.889 or.99 Q.(b) Find the roots of the equation x tan x near 4 using Newton Raphson method correct up to 4 decimal places. Ans.: f(x) x. tan x f(x) tan x + x.sec x Given x 4 f(x ) f(4) x tan x 4 tan 4 3.63 f(x ) tan x + x.sec x.5 f(x ) n x n + x n f'(x ) n f(x ) x x f'(x ) 3.63 4.5 x 3.6548 f(x ) f(3.6548) x tan x.597 f(x ) f(3.6548) tan x + x.sec x f(x ) x x f'(x ) x 3.6548.597 5.379 x 3.4578 f(x ).33, f(x ) 4.55 x 3 x f(x ) f'(x ) 3.4578.33 4.55 x 3 3.456 x 3.6548, x 3.4578, x 3 3.456 approx. root 3.456 4

Prelim Question Paper Solution Q.(c) The following table shows the number of students and range of marks. Find the number of students who have secured less than 45 marks. Marks 3 4 4 5 5 6 6 7 7 8 No. of Students 3 45 3 7 5 Ans.: Marks less than x No. of Students 4 3 5 73 6 4 7 59 8 9 h x x 5 4 x x + hk k 454.5 By Newtons forward difference Interpolation formula. k(k) k(k) (k) 3 Y(x) y + k y + y y! 3! + k(k)(k )(k 3) 4 y 4!.5(.5 ) Y(45) 3 +.5 4 + 9 +.5 (.5) (.5) (.53) + 37 4!.5 (.5) (.5) ( 5) 5 x y y y 3 y 4 y 4 3 4 5 73 5 9 5 6 4 35 6 37 7 59 3 4 8 9 y(45) 47.868 Q.(d) Given : x 3 4 5 6 7 8 f(x)..4...5.57.35.3 find f(7.5) using Newton s backward interpolation formula. Ans.: Newton s backward interpolation formula Y(x) kyn k(k) k(k) (k) 3 x y y... n n n!! 3! x y y y 3 y 4 y 5 y 6 y 7 y..6..6.6.57.8.87.4.6.84.54.3.564.6 3...7.47.63.44 4..3.77.6.75 5.5.7.39.59 6.57.68. 7.35.88 8.37 5

Vidyalankar : F.Y. B.Sc. (IT) NSM (.5)(.88) (.5)(.5 )(.) Y(7.5) 8!! (.5)(.5 )(.5 )(.59) 3! (.5)(.5 )(.5 )(.5 3)(.75) 4! (.5)(.5)(.5)(.53)(.54)(.44) 5! (.5)(.5)(.5)(.5 3)(.5 4)(.5 5)(.6) 6! (.5)(.5)(.5)(.53)(.54)(.55)(.56)(.87) 7!.98 Q.(e) Determine the real root of f(x) 4x 3 6x + 7x.3 using bisection method correct upto 3 decimal places. Ans.: f(x) 4x 3 6x + 7x.3 f() 4() 3 6() + 7().3.3 f() 4() 3 6() + 7().3.7 f() f() < Root lies in (, ) Iterations are x x ab x i f(x i...5...5.5.865.5.5.375.378.375.5.4375.59.4375.5.4687.748.4375.438.453..4375.453.4453.94.4458.453.445.36 The solution after successful iteration is.445. Q.(f) Given log.3, log 3.477, log 5.699 and log 7.845. Using Lagrange s formula, find log 47. Ans.: x x x x 3 x log log 3 log 5 log 7 Y.3.477.699.845 f(x) by using Lagrange s Interpolation is given by : f(x) (xx ) (xx ) (xx ) 3 f(x ) (x x ) (x x ) (x x ) 3 + + (xx ) (xx ) (xx ) 3 f(x ) (x x ) (x x )(x x ) 3 (xx ) (xx ) (xx ) 3 f(x ) (x x ) (x x ) (x x ) 3 (xx ) (xx ) (xx ) + f(x ) 3 (x x ) (x x ) (x x ) 3 3 3 6

Prelim Question Paper Solution (3.85.986) (3.85.694) (3.85.9459).3 (.693.986) (.693.694) (.6939.9459) + + + (3.85.693) (3.85.694) (3.85.945).477 (.986.693) (.986.694) (.986.9459) (3.85.693) (3.85.986) (3.85.9459).699 (.694.693) (.694.986) (.694.9459) (3.85.693) (3.85.986) (3.85.694).845 (.9459.693) (.9459.986) (.9459.694).67 Q.3 Attempt any THREE of the following: [5] Q.3(a) Solve the following simultaneous equations by Gauss -Jordan elimination method: x + 6x x 3 4, 5x x + x 3 9, x 3 3x 4x 4 Ans.: x + 6x x 3 4 () 5x x + x 3 9 () x 3 3x 4x 4 (3) Operate () 5 () 9 6x + x 3 64 Operate (3) + 3 () 5x x 7 3 The new reduced system of equations are x + 6x x 3 4 (4) 9 6x x 64 (5) 3 5x x 7 (6) 3 Operate (4) + 6 (5) x x 3 6 6 Operate (6) + 5 6 (5) 9 x 3 3 3 the new reduced system of equations are x x 6 3 (7) 9 6x x 64 (8) 3 9 x3 3 (9) 3 Operate (7) 6 (9) (7) (9) 9 9 3 x 4 9, x 9 Operate (8) 44 9 (9) 6x 44 9 x 89 9 9 x3 3 3 x 3 96 9 7

Vidyalankar : F.Y. B.Sc. (IT) NSM Final solution is x 9 3.86 x 89 9 3.689 x 3 96 9 3.33 Q.3(b) Solve the following simultaneous equations by Gauss-Seidel method : x + x + x 3, x + x + x 3 3, x + x + x 3 4 x x 3 Ans.: x 3x x 3 x 4x x x 3 () () (3) Iteration : x, x 3 (x ) (x ). Put x., x.6, x 3 (x ) 3().6 (x 3 ) 4(.) (.6) (x 3 ).948 Iteration : (x ).999 (x ).53 (x 3 ).999 Iteration 3 : (x ).9995 (x ). (x 3 ). After 3 iterations x x x 3 Q.3(c) Evaluate Ans.: x e x x dx e dx x h [(y + y n ) + (y + y +. + y n )] h 6 6.667 using trapezoidal rule and Simpson s 3/8 rule. x y x.667 y.9 x.3334 y.854 x 3.5 y 3.7869 x 4.6668 y 4.798 x 5.8335 y 5.6784 x 6 y 6.63 y n (i) Trapezoidal Rule h y y y y y y y.667.63 7.933 6 3 4 5 8

Prelim Question Paper Solution.667 8.5653.739 (ii) Simphson's 3/8 rule 3h y y 6 y 3 3 y y y 4 y 5 8 3.667.63.5738 9.539 8.734 Q.3(d) Evaluate Ans.: Let n 6 sin x dx using Simpson s 3/8 th rule. 5 4cosx x, x n, h x x n n 6 6 th Simpson s 3 rule 8 y 3h 8 [(y + y n ) + (terms of y which are multiple of 3) + 3(remaining terms of y)] a, b, n 6 x /6 /3 / /3 5/6 y.95.7.999.5.63 y 3 [ ( + ) + (terms of y which one multiple of 3) + 8 6 3(remaining terms of y)] y.4 Q.3(e) Solve dy log (x + y); y() for x. and x.4 using Euler s modified dx method, taking h.. Ans.: f(x, y) log (x + y) y (), x, y, h. f(x y ) log(x + y ) log ( + ) log 3.986 To find y at x. y(.) y + f(x y )h + log 3..97 f(x y ) f(.,.7) log(. +.7).95 y(.4) y + f(x y ) * h.97 +.95 *..465 y(.4).465 Q.3(f) Solve dy dx y x, where y(), to find y(.) using Runge-Kutta method. y x y x Ans.: f(x, y) y x x y h. k h.f(x, y ). f(, ) k. 9

Vidyalankar : F.Y. B.Sc. (IT) NSM k hf (x + h, y + k ) k. f(.5,.) k.6 k (k k ) k.8 y y + k y +.8 y.8 at x. Q.4 Attempt any THREE of the following: [5] Q.4(a) Fit a straight line to the x and y values in the two rows: x 3 4 5 6 7 y.5.5. 4. 3.5 6. 5. Ans.: M 7 which is odd Let three required set line for best fit be Y a + bx () Normal equations are y ma + b x () xy ax + bx (3) Consider the table no. x y xy x.5.5.5 5. 4 3. 6. 9 4 4. 6. 6 5 3.5 7.5 5 6 6. 36. 36 7 5. 36.4 49 x 8 y 3.7 xy 8 x 4 Substituting in equation () and (3) we get 3.7 7a + 8 b 8.4 8 a + 4 b Solving we get a.45, b.848 Required straight line is y.45 +.848 x Q.4(b) Fit a second degree parabola for the following : x.5.5.5.5.5 y 4.3 4.83 5.7 5.47 6.6 6.79 7.3 Ans.: Here x 4.5, y.7, x 5.5 x 3 3.6, x 4 65.3 xy 6.86 x y 3. m 7 The equation of second degree parabola is y a + bx + cx Solve y na + bx + cx xy a x + b x + cx 3

Prelim Question Paper Solution x y ax + bx + cx 4 Substitute the values.7 79 4.5b + 5.5c () 6.86 4.5a + 5.5b 3.65c () 3. 5.5a 3.65 b + 65.35c (3) Solving we get, a 6., b.76, c.3 second degree parabola is, y 6.9 +.768x +.3 x Q.4(c) Use multiple regression to fit the following data : x x y 5.5 9 3 4 6 3 7 7 Ans.: x x y x z y x z x y z 5 5 4.5 9 6.5 8 5.5 8 3 3 4 6 3 6 9 4 8 7 7 49 79 4 89 54 x 6.5, y 4, z 54 x 76.5, z 944, xy 48 xz 43.5 yz y a + bx + cz required regression. y ma + b x + c z y x a x + b x + c z x y z a z + b z x + c z Substitute the values in eq. (), (), (3) 4 6a + 6.5b + 54c () 48 6.5 a + 76.5 b + 43.5 c () 54 a + 43.5 b + 944 c (3) by solving equation (), (), (3) simultaneously and removing the variables we get, a.667, b.333, c.333 Q.4(d) Maximize 5x + y subject to x + 5y 5, 4x + y, x +.5y 45 and x ; y. Ans.: Maximize Z 5x + y Subject to x + 5y 5 () 4x + y () x +.5y 45 (3) and x, y convert the given constraints into equations x + 5y 5 4x + y

Vidyalankar : F.Y. B.Sc. (IT) NSM x +.5y 45 Consider x + 5y 5 we get x 5 y 5 Consider 4x + y we get x 5 y 5 y Consider 4x + y we get x 45 y 3 4 3 b () () Feasible region is ABCDA A(, ), B(, ), C(, ) D(5, ) a c (3) d 3 4 5 x Points Z 5x + y A B C D 5 Optimal Value of z is at C X and Y is optimal solution. Q.4(e) A firm makes two types of furniture chairs and tables. The contribution for each product as calculated by the accounting department is Rs. per chair and Rs. 3 per table. Both products are processed on three machines M, M and M 3.The time required in hours by each product and total time available in hours per week on each machine are as follows: MACHINE CHAIR TABLE AVAILABLE TIME M 3 3 36 M 5 5 M 3 6 6 How should the manufacturer schedule his production in order maximize contribution? Ans.: Maximize Z x + 3y Subject to 3x + 3y 36 5x + y 5 x + 6y 6 Non Negative constraints x, y 3x + 3y 36 5x + y 5 x + 6y 6 x x x 3 y y 5 y

Prelim Question Paper Solution Vertex Z x + 3y O (, ) A (, ) 3 5 y B (5, 8) 34 C (4, 5) 3 D (, ) 5 a b The maximum contribution come upto point b (5, 8) as x 5 and y 8 5 a c d 5 5 5 3 x Q.4(f) An aged person must receive 4 units of vitamin, 5 units of minerals and 4 calories a day. A dietician advises to thrive on two foods Fand F that cost Rs 4 and Rs respectively per unit of food. It one unit of F contains units of vitamins, unit of mineral and 4 calories and one unit of F contains units of vitamins units of minerals and 4 calories, formulate a linear programming model to minimize the cost of diet. Ans.: Product Food F Food F Requirements Vitamins 4 Minerals 5 Calories 4 4 4 Cost /Units 4 Z 4x + y Subject to x + y 4 x + y 5 4x + 4 4 x, y Q.5 Attempt any THREE of the following: [5] Q.5(a) State and explain the properties of distribution functions. Ans.: Let x be a random variable, the function f defined for all real values x by f(x) P[X x] for all real x is called distribution function. A distribution function is also called as cumulative probability distribution function. Properties of distribution function : ) If f is the distribution function of random variable x if a < b then P[a < x b] f(b) f(a) ) Values of all distribution function lies between and i.e. f(x) for all x 3) All distribution functions are monotonically decreasing i.e. if x < y then f(x) < f(y). 4) f() lim f(x) x f() lim f(x) x 5) If x is discrete random variable then f(x) P(x ) xi x 6) If values of discrete random variable x are like x < x < x 3 < x 4 then P(V n + ) f(x n + ) f(x n ) 7) If x is discrete random variable then distribution function is step function. 3

Vidyalankar : F.Y. B.Sc. (IT) NSM Q.5(b) A random variable x has the following probability distributions : x 3 4 5 6 7 p(x) k k k 3k k k 7k + k (i) Find k, (ii) Evaluate P(x < 6), P (x 6) and P( < x < 5), (iii) If P(x c) >, find the minimum value of c, and (iv) Determine the distribution function of x. Ans.: i) Find k, Sum of all probabilities is unity x7 x p(x) + k + k + 3k + k + k + 7k + k k ii) Evaluate P(x < 6) P(x ) + P(x ) + P(x ) + P(x 3) + P(x 4) + P(x 5) + k + k + k + 3k + k 8 iii) If P(x c) >, find the minimum value of c P(x ) P(x ) False not P(x ) P() + P(x ) +. not P(x ) P() + P() + P() + +.3 not P(x 3) P() + P() + P() + P(3) + + +.5 P(x 4) P() + P() + P() + P(3) +P(4) + + + + 3.8 condition is true. Minimum value of c 4 not iv) f() P[x ] P() f() P[x ] P() + P() f() P[x ] P() + P() + P() + f(3) P[x 3] P() + P() + P() + P(3) 3 f(4) P[x 4] P() + P() + P() + P(3) + P(4) 3 8 f(5) P[x 5] P() + P() + P() + P(3) + P(4) + P(5) f(6) 83 3 3 ; f(7) P(x 7) 8 4

Prelim Question Paper Solution Q.5(c) The price for a litre of whole milk is uniformly distributed between Rs. 45 and Rs. 55 during July in Mumbai. Give the equation and graph the pdf for X, the price per litre of whole milk during July. Also determine the percent of stores that charge more than Rs. 54 per litre. Ans.: The equation of pdf is f(x) 55 45. 45 < x < 55 elsewhere The pdf is shown in the figure below: The probability P(X > 54) is shaded in the figure below: The area of the shaded region is.*. Hence.* % of the stores charge more than Rs. 54/ per litre. Q.5(d) What is exponential distribution? Suppose the time till death after infection with Cancer, is exponentially distributed with mean equal to 8 years. If X represents the time till death after infection with Cancer, then find the percentage of people who die within five years after infection with Cancer. Ans.: Exponential distribution : The exponential probability distribution is a continuous probability distribution that is useful in describing the time it takes to complete some task. The pdf for an exponential probability distribution and e.788 five decimal places. x f(x) e for x The graph for the pdf of a typical exponential distribution is shown : The percentage of people who die within five years after infection with cancer is P(X 5) 5 8 e e.65.535.465 i.e. 46.5% 5

Vidyalankar : F.Y. B.Sc. (IT) NSM Q.5(e) The probability mass function of a random variable X is zero except at the points i,,. At these points it has the values p () 3c 3, p() 4c c, p() 5c for some c >. (i) Determine the value of c. (ii) Compute the following probabilities, P (X < ) and P ( < X < ). (iii) Describe the distribution function and draw its graph. (iv) Find the largest x such that F (x) < (v) Find the smallest x such that F (x) 3 Ans.: Given : P() 3a 3, P() 4a a and P() 5a and for all the other values (i) We know that if p(x) is a PMF, then P(x) x P() + P() + P() 3a 3 + 4a a + 5a 3a 3 a + 9a (a ) (3a 7a + ) (a ) (3a ) (a ) a,, 3 If a, then P() 3 >, which is not possible. Similarly, a 3 P() 3 3 9 3 P() 4a a 4 3 9 9 P() 5a 5 3 3 6 9 The probability distribution function is x P(X x) 9 **Consider a as c 9 6 9 3 (ii) P(X < ) P(X ) + P(X ) 9 9 9 3 6 P( < X ) P (X ) 9 3 (iii) The distribution function is F(x), x <, x 9 3, x 9, x (iv) Since F(x) 3, the largest value of x for which f(x) < is x. Since F(x) 3 for x and F(x) for x, the smallest value of x for which f(x) 3 is x. 6

Prelim Question Paper Solution Q.5(f) The monthly worldwide average number of airplane crashes of commercial airlines is.. What is the probability that there will be (i) more than such accidents in the next month? (ii) more than 4 such accidents in the next months? Ans.: The number of crashes over a period of time is simply a random variable with a Poisson distribution. In this case, the sum of two passion random variables is just a new random variable with the new rate being the sum of the old rates. (a) We have X ~ Poisson (x :.); this is just P(X > ) P(X ). (.) e e.e!.377 (b) Let X be the number of accidents that happen in a two month period. By additively of the Poisson, X ~ Poisson (x :. +.). Thus P(X > 4) P(X 4).4488694556849 7