You are on page 1of 6

COMPLETE 26/09/2010

Poornima Group of Institutions, Jaipur
Branch: Civil Engineering
Sub./Code: COMPUTER APPLICATION IN CIVIL ENGINEERING/3CE04
Unit – IV & V
Submitted By: Komal Choudhary (Lecturer, Maths. Deptt.)
Q1. To solve the ordinary differential equation by Euler’s method, you need to rewrite the equation as
3

dy
 5 y 2  sin x, y  0  5
dx

dy
 sin x  5 y 2 , y  0   5
(a) dx
dy 1
  sin x  5 y 2 , y  0   5
dx
3
(b)
dy 1 
5 y 3 
  cos x 
, y  0  5
dx 3 
3 
(c)
dy 1
 sin x, y  0  5
(d) dx 3
Ans(b)

3

dy
 5 y 2  sin x, y  0.3  5
dx

Q2. Given
and using a step size of h=0.3, the value of y(0.9) using Euler’s method is most nearly
(a)- 35.318
(b) -36.458
©-658.91
(d)-669.05
Ans.(a)

7 m ©1260. The two-segment trapezoidal rule of integration is exact for integrating at most ______ order polynomials. 5  t  14 where t is given in seconds. (a)first (b)second ©third (d)fourth Ans.672 (b) 11. and v is given in m/s. . the explicit expression for yi 1 if the first three terms of the Taylor series are chosen for the ordinary differential equation dy 2  3 y  e 5 x . 1  t  5  5t 2  3. in terms of yi and all the derivatives of y at xi .(a) 2. Euler’s method can be derived by using the first two terms of the Taylor series of writing the value of yi 1 .807 (c) 20.Q3. Use the two-segment Trapezoidal Rule to find the distance covered by the body from t=2 to t=9 seconds.099 (d) 24. (a) 935.(c) Q4.2 x dx by using the one-segment trapezoidal rule is most nearl Ans. The velocity of a body is given by v(t )  2t .0 m (b) 1039. that is the value of y at xi 1 . If h  xi 1  xi .(c) Q6.2 Q5 The value of (a) 11.9 m Ans© .9 m (d) 5048. y  0   7 dx would be (a) (b) (c) (d) yi 1  y i  yi 1  yi  yi1  yi    1 5 xi e  3 yi h 2   2 1 5 xi  5  h e  3 yi h   e 5 xi  2  2  2   1 5 xi 9  h2  13 e  3 yi h    e 5 xi  yi  2 4  2  4 yi 1  yi    1 5 xi h2 e  3 yi h  3 yi 2 2 Ans.119  xe 0.

39 + 8/3 [2f(7)-f(11)+2f(15)] 702.8036 (b) 7.2 dx by using four-segment Simpson's 1/3 rule is most nearly 19 Q12.2 Ans.8423 (d) 7.Q7.2 Q10. To solve the ordinary differential equation dy 3  xy 2  sin x. y  0  5 dx by the Runge-Kutta 2nd order method. y  0   5 dx (a) dy 1  sin x  xy 2 . The value of  f ( x )dx 3 by using two-segment Simpson’s 1/3 rule is estimated as 702.2 Q11.8306 (b) 7.39 + 8/3 [2f(7)+2f(15)] 702.(a) e x 0. The value of (a) 7.(c) Q13.39/2 + 8/3 [2f(7)+2f(15)] An.8062 (c) 7.(b) 2. y  0  5 (b) dx 3   .039.8423 (c) 7.39/2 + 8/3 [2f(7)-f(11)+2f(15)] 702.246 e x dx by using two-segment Simpson's 1/3 rule is most nearly 0. you need to rewrite the equation as dy  sin x  xy 2 . The estimate of the same integral using four-segment Simpson’s 1/3 rule most nearly is (a) (b) (c) (d) 702. The value of (a) 7.(b) 2. The highest order of polynomial integrand for which Simpson’s 1/3 rule of integration is exact is (a) First (b) Second (c) Third (d) Fourth Ans.9655 Ans.8423 (d) 10.

3  5 dx and using a step size of h=0. y  0.(c) Q15.2045 Ans(a) Q16.(a) Q 14Given dy 3  5 y 2  sin x.6188 (d) -3.9 (b) 3939. y  0.3.dy 1  xy 3    .9) using the Runge-Kutta 2nd order midpoint-method most nearly is (a) 2. y  0  5   cos x  dx 3  3  (c) dy 1  sin x.7 (c) -0. the value of y(0. Given dy 3  5 y  e 0.3.7 (c) 6556.24489  10 14 Ans.21336  10 14 (d) -0. t  0 Using the Runge-Kutta 2nd order Ralston method with a step size of 5 seconds.4 (b) -4936.2473 (b) -2.1x .3 (d) 39397 Ans (b) Q17. the best estimate of dy/dx(0. The Runge-Kutta 2nd order method can be derived by using the first three terms of the Taylor series of writing the value of yi+1 (that is the value of y at xi+1 ) in terms of yi (that is the value of y at xi) and all the derivatives of y at xi . The velocity (m/s) of a body is given as a function of time (seconds) by   t   200 ln1  t   t . If h=xi+1-xi. y  0  5 (d) dx 3 Ans. the explicit expression for yi+1 if the first three terms of the Taylor series are chosen for solving the ordinary differential equation .9) using the Runge-Kutta 2nd order Heun's method is most nearly (a) -4297. the distance in meters traveled by the body from t=2 to t=12 seconds is estimated most nearly is (a) 3904. and using a step size of h=0.2543 (c) -2.3  5 dx .

by Runge-Kutta 4th order method. radius of ball = 2 cm specific heat of ball = 420 J/(kg-K) density of ball = 7800 convection coefficient = 350 J/s-m^2-K The ordinary differential equation is given for the temperature.20673  10 13  4  81  108  4.(c) Q18. you need to rewrite the equation as dy  sin x  xy 2 .  of the ball d  2. y  0   5 dx (a) .dy  5 y  3e  2 x . A spherical ball is taken out of a furnace at 1200K and is allowed to cool in air.3982  10 2   300 dt (b) d  1. y  0   7 dx would be (a) (b) (c) (d)  y i 1  y i  3e  yi1  yi  3e 2 xi 3 xi  h2  5 yi h  5 2    5 yi h   21e  2 xi   y i 1  y i  3e  2 xi  5 y i h   6e  2 xi   h2  25 yi 2  h2   yi 1  y i  3e 2 xi  5 yi h   6e 2 xi  5 2  h2 2 Ans.20673  10 13  4  81  108  1.(a) Q19 To solve the ordinary differential equation 3 dy  xy 2  sin x. The ordinary differential equation if convection is accounted for in addition to radiation is d  2. Given the following.6026  10 2   300 (a) dt d  2. y  0  5 dx .6026  10 2   300  dt ©     Ans.20673  10 13  4  81  10 8 dt   if only radiation is accounted for.

5 0.88498 Ans. . Given 3 dy  5 y 2  sin x.(b) 40 .  dy 1  sin x  xy 2 . y  0  5 (b) dx 3 dy 1  xy 3   .3  5 dx and using a step size of h  0. y  0.25011  10 -4297.9 using Runge- Kutta 4th order method is most nearly (a) (b) (c) (d) 0.3 .4 -1261. y  0  5 (d) dx 3 Ans. the value of y  0. y  0  5    cos x  dx 3  3  (c) dy 1  sin x.(a) Q20.