You are on page 1of 2

CET - 432

MALAVIYA NATIONAL INSTITUTE OF TECHNOLOGY JAIPUR

DEPARTMENT OF CIVIL ENGINEERING

SECOND MID-TERM EXAMINATION (23%) VII SEM, 2018 - 19

NUMERICAL METHODS

(Date & Time: 9th Oct 2018; 12 : 50 − 2 : 01 pm : 1.18 hours)

NOTE: 1. Answer all FOUR questions & MARKS are indicated in bracket.
Rb
2. Default step-size h = b - a, xn = a + nh & Integration a f (x)dx.

3. Please highlight Answer with a BOX & clearly show your STEPS.

1. Using below Splines, Derive Matrix for upward velocity of 1000


Cubic Splines: Upward velocity of a rocket

a rocket is given as a function of time. (2 + 3 = 5) 900

800

700

Time (sec) 0 10 15 20 22.5 30

Velocity (V)
600

500

m
Velocity ( sec ) 0 227.04 362.78 517.35 602.97 901.67 400

300

200

100

1A. Quadratic Spline 0


0 5 10 15 20 25 30
Temp (T)

1B. Cubic Spline Figure 1

2. Fit the data shown in table (Figure 2) for the below functions. (4 ×1 21 = 6)

4.5

4
xi 1 3 4 6 9 15
yi 4.5 3.5 2.9 2.5 2.75 2.0
3.5

2A. The Exponential equation


y

3
2B. The Power equation

2C. The Saturation Growth Rate equation 2.5

2D. The Quadratic Regression


2
0 5 10 15
x

Figure 2: Curve Fitting


–2– CET - 432
3. Using Gauss Quadrature (Natural co-ordinate system), calculate functional argu-
Rb R1 P
ments (xi ) & (ci ) of function a f (x)dx ≈ −1 g(ξ)dξ ≈ ni=0 ci f (xi ) = c0 f (x0 ) + c1 f (x1 ) +
· · · + cn f (xn ) for below points based on symmetry & evaluate the integration I =
R4
0
x exp2x dx for n = 3 point. (1 + 1 12 + 3 21 = 6)
3A. One - Point Gauss-Legendre quadrature x0 & c0 (1)
3B. Two - Point Gauss-Legendre quadrature x0 , x1 , c0 & c1 (1 12 )
3C. Three - Point Gauss-Legendre quadrature x0 , x1 , x2 , c0 , c1 & c2 (2 + 1 12 = 3 12 )

Figure 3: Gauss Quadrature (Natural co-ordinate system) One - Three Points

4. Find the approximate value of different derivatives of f(n) (2), x f(x)


using Forward difference method with step size (h) = 0.1 in 1.6 7.924851
function f(x) = xexpx for (n + 1) points. (1 + 1 12 + 1 21 +2 = 6) 1.7 9.305711
1.8 10.889365
4A. First Derivative n = 1 1.9 12.703199
2.0 14.778112
4B. Second Derivative n = 2
2.1 17.148957
4C. Third Derivative n = 3 2.2 19.855030
2.3 22.940619
4D. Fourth Derivative n = 4 2.4 26.455623

BEST OF LUCK

You might also like