Saturday 4 February 2023

FYBSC IT ( SEM 2 ) NUMERICAL METHODS

 FYBSC IT ( SEM 2 ) NUMERICAL METHODS

IMPORTANT QUESTIONS 

UNIT 1 ( 15 MARKS )

1.State the characteristics of typical mathematical models of physical world. Explain with example.

2.Discuss the conservation laws and engineering with respect to mathematical models.

3.Define significant figures, accuracy ,precision , truncation error.

4.Define absolute,relative,percentage and roundoff errors

5.For x = 3.4537 is correct upto 4 significant figures find relative and percentage error

6.Suppose that you have the task of measuring the lengths of a bridge and a rivet and come upwith 9999 and 9 cm, respectively. If the true values are 10,000 and 10 cm, respectively,compute (i) the true error and (ii) the true percent relative error for each case

7.Let p = 0.54617 and q = 0.54601. Use four-digit arithmetic to approximate p − q and determine the absolute and relative errors using (i) rounding and (ii) chopping.

8.Use zero- through third-order Taylor series expansions to predict f (3) for ๐‘“ (๐‘ฅ) = 25๐‘ฅ3 − 6๐‘ฅ2 + 7๐‘ฅ – 88 using a base point at x = 1.

9. Create a hypothetical floating-point number set for a machine that stores information using7-bit words. Employ the first bit for the sign of the number, the next three for the sign andthe magnitude of the exponent, and the last three for the magnitude of the mantissa

10. Compute the condition number for ๐‘“(๐‘ฅ) = ๐‘ก๐‘Ž๐‘›๐‘ฅ ๐‘“๐‘œ๐‘Ÿ ๐‘ฅ̃ =๐œ‹/2+ 0.1 (๐œ‹/2) & 

๐‘“(๐‘ฅ) = ๐‘ก๐‘Ž๐‘›๐‘ฅ ๐‘“๐‘œ๐‘Ÿ ๐‘ฅ̃ =๐œ‹/2+ 0.01 (๐œ‹/2)

11. Explain blunders, formulation errors and data uncertainty.

12.Use Taylor series expansions with n = 0 to 6 to approximate ๐‘“ (๐‘ฅ) = ๐‘๐‘œ๐‘ ๐‘ฅ at x = ฯ€/3 on the basis of the value of f (x) and its derivatives at xi =ฯ€/4.

13. Evaluate and interpret the condition number for๐‘“ (๐‘ฅ) =๐‘ ๐‘–๐‘›๐‘ฅ/1 + ๐‘๐‘œ๐‘ ๐‘ฅ ๐‘“๐‘œ๐‘Ÿ ๐‘ฅ = 1.0001๐œ‹

14. What are total numerical errors? Discuss stability and condition of a mathematical Problem.


UNIT 2 ( 15 MARKS )

1. Use the Bisection method to find solutions accurate to within 10−2 for

 ๐‘ฅ3 − 7๐‘ฅ2 + 14๐‘ฅ − 6 = 0 in the interval [3.2, 4].

2.The fourth-degree polynomial ๐‘“ (๐‘ฅ) = 230๐‘ฅ 4 + 18๐‘ฅ3 + 9๐‘ฅ 2 − 221๐‘ฅ – 9 in

[0, 1] correct up to 4 decimal places using Regula-Falsi method.

3.Find the root of 4๐‘ฅ2 − ๐‘’๐‘ฅ − ๐‘’−๐‘ฅ = 0 using Newton Raphson correct upto 4 decimal places using initial value as 1.

4.Given the cube of integers in the following table. Find the values of (53. 5 ) and 153 using Newton’s interpolation formula.

5.Find f (0.9) if f (0.6) = −0.17694460, f (0.7) = 0.01375227, f (0.8) = 0.22363362,

f(1.0) = 0.65809197 using Lagrange’s Interpolation formula.

6.Using appropriate interpolation formula find f(4.25) from the table:

X     4.0      4.1      4.2    4.3      4.4     4.5

f(x) 27.21 30.18 33.35 36.06 40.73 54.01

7.Determine the real root of ๐‘“(๐‘ฅ) = −26 + 85๐‘ฅ − 91๐‘ฅ 2 + 44๐‘ฅ3 − 91๐‘ฅ2 + ๐‘ฅ5 between 0.5 and 1.0 correct up to 3 decimal places using bisection method.

8.Determine the positive real root of ln(๐‘ฅ4) = 0.7 between 0.5 and 2 using method of false position.

9.Solve: ๐‘ฅ − 0.8 − 0.2๐‘ ๐‘–๐‘›๐‘ฅ = 0 using Newton Raphson method correct upto 4 decimal places starting with initial value 0.

10.Using the necessary interpolation formula find f(1) and f(1.5) from the table:

X    –1  0  2  3

f(x) –8  3  1 12


                                               UNIT 3 ( 15 MARKS )

1.Solve the following system by using the Gauss-Jordan elimination method.

๐‘Ž + ๐‘ + 2๐‘ = 1, 2๐‘Ž − ๐‘ + ๐‘‘ = −2

๐‘Ž − ๐‘ − ๐‘ − 2๐‘‘ = 4 , 2๐‘Ž − ๐‘ + 2๐‘ − ๐‘‘ = 0

2.Solve the following system by using the Gauss-Seidel iterative method.

10๐‘Ž − ๐‘ + 2๐‘ = 6 , −๐‘Ž + 11๐‘ − ๐‘ + 3๐‘‘ = 25

2๐‘Ž − ๐‘ + 10๐‘ − ๐‘‘ = −11 , 3๐‘ − ๐‘ + 8๐‘‘ = 15

3.Evaluate ∫ √1 − 8๐‘ฅ2๐‘‘๐‘ฅ with limits {0, 0.3} using Simpson’s 3/8th rule.

4.Apply Taylor’s method of order two with N = 10 to the initial-value problem

๐‘ฆ′ = ๐‘ฆ − ๐‘ก 2 + 1, 0 ≤ ๐‘ก ≤ 2 ≤, ๐‘ฆ (0) = 0.5

5.Using modified Euler’s method find the solution of

๐‘ฆ′ = ๐‘๐‘œ๐‘ 2๐‘ก + ๐‘ ๐‘–๐‘›3๐‘ก), 0 ≤ ๐‘ก ≤ 1; ๐‘ฆ(0) = 1 ๐‘ค๐‘–๐‘กโ„Ž โ„Ž = 0.25

Given log 280 = 2.4472, log 281 = 2.4487, log 283 = 2.4518, log 286 = 2.4564. Find

[ ๐‘‘/๐‘‘๐‘ฅ (๐‘™๐‘œ๐‘”๐‘ฅ)] ๐‘ฅ=280

Evaluate the following using Simpson’s 3/8th rule.

๐‘ ๐‘–๐‘›2๐œƒ/5 + 4๐‘๐‘œ๐‘ ๐œƒ๐‘‘๐œƒ for limits (0 ๐œ‹)

Use Euler’s method to approximate the solution for

๐‘ฆ′ = ๐‘ก−2(๐‘ ๐‘–๐‘›2๐‘ก − 2๐‘ก๐‘ฆ), 1 ≤ ๐‘ก ≤ 2, ๐‘ฆ (1) = 2 ๐‘ค๐‘–๐‘กโ„Ž โ„Ž = 0.5

Solve ๐‘ฆ′ = ๐‘ฆ๐‘ก2 + 1, ๐‘ฆ(0) = 0.5, 0 ≤ ๐‘ก ≤ 2 using Runge Kutta 4th order method with h = 0.5

UNIT 4 ( 15 MARKS )

1.Fit an exponential model to:

x 0.4  0.8   1.2   1.6     2.0     2.3

y 800 975 1500 1950 2900 3600

2.Find the least square polynomial approximation of degree two to the data

x   0   1 2  3   4

y –4 –1 4 11 20

3.Find the best-fit values of a and b so that y = a + bx fits the data given in the table.

x 0  1    2     3   4

y 1 1.8 3.3 4.5 6.3

4.A painter has exactly 32 units of yellow dye and 54 units of green dye. He plans to mix as manyGallons as possible of colour A and colour B. Each gallon of colour A requires 4 units of yellow Dye and 1 unit of green dye. Each gallon of colour B requires 1 unit of yellow dye and 6 units of Green dye. Find the maximum number of gallons he can mix graphically.

5.Rita wants to buy x oranges and y peaches from the store. She must buy at least 5 oranges andThe number of oranges must be less than twice the number of peaches. An orange weighs150 Grams and a peach weighs 100 grams. Joanne can carry not more than 3.6 kg of fruits home. I) Write 3 inequalities to represent the information given above.ii) Plot the inequalities on the Cartesian grid and show the region that satisfies all theInequalities. Label the region Siii) Oranges cost 0.70 each and peaches cost 0.90 each. Find the maximum that Rita Can spend buying the fruits

Fit a second order polynomial to the data given below:

x 0      1     2      3       4      5

y 2.1 7.7 13.6 27.2 40.9 61.1

Fit a straight line to the given data regarding x as the independent variable.

x   1       2      3      4     5    6

y 1200 900 600 200 110 50

Consider the data below: Use linear least-squares regression to determine a function of the form y = bemx for the given data by specifying b and m.

x 1 2  3   4

y 1 7 11 21

A farmer can plant up to 8 acres of land with wheat and barley. He can earn ₹ 5,000 forevery acre he plants with wheat and ₹ 3,000 for every acre he plants with barley. Hisuse of a necessary pesticide is limited by federal regulations to 10 gallons for his entire 8 acres. Wheat requires 2 gallons of pesticide for every acre planted and barley requires just 1 gallon per acre. What is the maximum profit he can make? Solve graphically.

The Bead Store sells material for customers to make their own jewelry. Customer canselect beads from various bins. Grace wants to design her own Halloween necklace fromorange and black beads. She wants to make a necklace that is at least 12 inches long, butno more than 24 inches long. Grace also wants her necklace to contain black beads thatare at least twice the length of orange beads. Finally, she wants her necklace to have atleast 5 inches of black beads.Find the constraints, sketch the problem and find the vertices (intersection points).

UNIT 5

The mileage C in thousands of miles which car owners get with a certain kind of tyre is a Random variable having probability density function

๐‘“(๐‘ฅ) = 1/20 ๐‘’๐‘ฅ20 ๐‘“๐‘œ๐‘Ÿ ๐‘ฅ > 0

= 0, ๐‘“๐‘œ๐‘Ÿ ๐‘ฅ ≤ 0

Find the probabilities that one of these tyres will last

i. At most 10000 miles

ii. Anywhere from 16000 to 24000 miles

iii. At least 30000 miles

b. A petrol pump is supplied with petrol once a day. If its daily volume X of sales in thousands

Of litres is distributed by

๐‘“(๐‘ฅ) = 5(1 − ๐‘ฅ)4, 0 ≤ ๐‘ฅ ≤ 1

what must be the capacity of its tank in order that the probability that its supply will be

Exhausted in a given day shall be 0.01?

c. A continuous random variable X has a p.d.f.

๐‘“(๐‘ฅ) = 3๐‘ฅ2, 0 ≤ ๐‘ฅ ≤ 1

Find a and b such that

i. P(X ≤ a) = P(X > a) and

ii. P(X > b) = 0.05

What is the probability of getting a total of 9 (i) twice and (ii) at least twice in 6 tosses of a

Pair of dice?

In a precision bombing attack there is a 50% chance that any one bomb will strike the target.

Two direct hits are required to destroy the target completely. How many bombs must be?

Dropped to give a 99% chance or better of completely destroying the target?

A car hire firm has two cars which it fires out day by day. The number of demands for a car

On each day is distributed as Poisson variety with mean 1.5. Calculate the proportion of days

On which (i) neither car is used (ii) some demand is refused.

The diameter of an electric cable; say X, is assumed to be a continuous random variable with p.d. f. ๐‘“ ( ๐‘ฅ ) = 6๐‘ฅ ( 1 − ๐‘ฅ), 0 ≤ ๐‘ฅ ≤ 1.

(i) Check that above is p.d.f,

(ii) Determine a number b such that P (X < b) = P (X> b)

Define and explain the concept of probability density function.

The probability mass function of a random variable X is zero except at the points ๐‘– = 0, 1,2.

At these points it has the values ๐‘ (0) = 3๐‘3, ๐‘(1) = 4๐‘ − 10๐‘ 2, ๐‘(2) = 5๐‘ − 1 for some ๐‘ > 0.

(i) Determine the value of c.

(ii) Compute the following probabilities, ๐‘ƒ (๐‘‹ < 2) ๐‘Ž๐‘›๐‘‘ ๐‘ƒ (1 < ๐‘‹ ≤ 2).

(iii) Describe the distribution function and draw its graph.

(iv) Find the largest x such that ๐น (๐‘ฅ) < 1

(v) Find the smallest x such that ๐น (๐‘ฅ) ≥ 1

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.

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.

The monthly worldwide average number of airplane crashes of commercial airlines is 2.2. What is the probability that there will be (i) more than 2 such accidents in the next month? (ii) more than 4 such accidents in the next 2 months?