Professional Documents
Culture Documents
Chapter
ACE Engineering Publications >Hyderabad I Delhi I Bhopal I Pune I Bhubaneswar I igteknow I Patna I Bengahuu Chennai I Vijayawada Vizag I Tirupati Kukatpally1 Kolkata
0# ACE
J
t &Aiming Pudica:es
Ile
: 357: Numerical Methods
6. f (X n
n +1 = X n ,
Sol: Given f(x) = x — cos x f'(x n
f'(x) = 1 + sin x (X 2n —2 (X. +2)
=X„—
Newton-Raphson method is given by 2x n 2xn
xn+i f(xn )
= xn fi(xn)
xn+,
[X n — COS(X. n 2
X n+1 Xn r X + 2 _ 1+2 —3
[1+ sin(x„ xl — 0 — — 1.5
2x0 —2 2
3x 3 3
—Xn +c = — 1.4141
3X 2n
11. Ans: (c)
+c 1
X n+1 Sol: f(x)= — , a= 1, b = 2, h = 0.25
3 X n2
,NCI: Engineering Publications >Hyderabad I Delhi I Bhopal I Pune I Bhubaneswar I Lucknow Patna I Bengaluru Chennai Vijayawada Vizag Tirupati Kukatpally Kolkata
„at Engineering
ACE
Publications : 359: Numerical Methods
4 lo
= 0.853
= 2[x n + x,,
2
dx _2t
=e u(t) — —1
dt — 1 (le — 1 (1—e)
l
dx = e-2t u(t) dt
e
t=o.oi
e —2t x1 = —2 + e
= u(t) dt
t=o x1 = 0.71828
0.0,
= f g(t) dt 30. Ans: (c)
0 Sol: For the equation ax3 + bx2+ cx + d = 0,
t<0
For the given equation let x be the third
{ 0,
e-2t , t>_0 root
1x3xx=6
By trapezoidal rule, we have
o.o1 x=2
x = f g(t) dt = 1
1 [g(a) + g(b)]
2 31. Ans: (c)
g iglEMEIMEMESilyderabadI Delhi I Bhopal I Pune I Bhubaneswar I Lucknow l Patna IBengaluru I Chennai Vijayawada Vizag Tirupati I Kukatpally Kolkata
44 ACE
't4 4
Fmineeing Publicadons : 362: Engineering Mathematics
4
2Xk
.1(1: Engliwci ing Publication‘:' yderabad I Delhi I Bhopal I Pune I Bhubaneswar I LucknowIPatna I Bengaluru I Chennai Mayawada I Vizag I Twl I Kukatpally I Kolkata
04 ACE
e,z) Engineering Publications : 363 : Numerical Methods
.N('E Engineering Publications yderabadl Delhi I lihopallPune I Bhubaneswari Lucknow1PatnalBengaluruiChennailVijayawadalVizag ITIrupati I Kukatpallyl Kolkata
(
,0
'444 ACE
: t Engineeting Publications : 365: Numerical Methods
4
.
I
lo
1 1
Y =IxI 1 -3 -3 1 53. Ans: (b)
Sol: The Numerical methods described the
corresponding applications.
...fix idx = -2-[(Yo ± Y3) + 2(Yi y2)]
54. Ans: 0.06
2
Sol: f '(x) = ex
3
= )[(1+1)+ 2G
1+i
1 )1
2 f(x0 ) re -1) = 1
x, = xo - =1
fi(x0 ) e ) e
10
= — =1.11...
3 f(x1 )
x 2 = x1
f'(x, )
51. Ans: 1.7532 ielie -1
1
Sol: = 0.06
X 3.4 3.7 4.0
e e lie
2.5 2.8 3.1
4
Let f(x) = x3 - N = 0
log x dx = [(yo + Y5) + 2(3/1 + y2 + y3 + y4 )] f '(x) = 3 x2
z5
2
f(xn )
0.3 X n+i = X n
= —[2.302 + 2(4.693)] fs(x n )
= 1.7532 (x n — N)
= xn
3x n2
( 3
= 1 2x n
3 x 2n
I \l 1.1 Iltt ait 1111(2 Plittllt >Hyderabad Delhi 1 Bhopal! Pune I Bhubaneswar I Lucknow Patna BengaluntIChennai I Vijayawada I Vizag ainiPati I Kukatpallyi Kolkata
i
ACE
4
LI Engineering Publications
4
: 367: Numerical Methods
formula f(x0 )
.•. x, = x n
f(x n ) f ,(xo)
X n+1 = x -n ff (xn)
1— sinl
Let xo = 1 then xi = 0.5631 2 — cosl
x2 = 0.5426, x3 = 0.5425 = 0.8915
f(xl )
57. Ans: (d)
dx
Sol: Given that — = (4t + 4) [ 1— sin(0.89)
at = 0.8915
2 — cos(0.89)
At t = 0, x = xo = 0
h = 0.2, f(t, x) = (4t + 4) = 0.73 (approximately)
K 2 = hf(t o ± ±,X
1 0 = 30 = 20
2 3
=(0.2) [ 4(0 + 0.1) + 4] =0.88
60. Ans: (a)
K 3 = hf(t o + 11 ,x 0 + Zzl Sol: Let f(x) = k (x — 1) (x — 2) (x — 3) (k 0)
2
Now f(0) and f(4) have opposite signs.
= (0.2) [4(0 + 0.1) + 4] = 0.88
f(0). f(4) < 0
K 4 = hf(t o + h,X o +K 3 )
I :\ ('I Lnginci.1 nig Publicatii yderabad I Delhi I Bhopal I Pune I Bhubaneswar Luclrnow I Patna' Bengalum I Chennai Vijayawada j Vizag I TinAKti I Kukatpally I Kolkata
ACE
: 368: Engineering Mathematics
.14 44 Engineaing Publications
f (x 0 ) = 0 22
x1 = X0 — = 5-
fAx0 ) 31
Similarly x2 = 2, x3 = 0, x4 = 2, x5 = 0 .... = 4.29
The iterations will not converge to root.
64. Ans: (a)
62. Ans: (c) Sol: In trapezoidal rule the integral f(x) is
approximated with a polynomial of degree 0
Sol: In Trapezoidal rule, to evaluate x2dx we or 1 (a straight line). The straight line
a
segments lie above the parabola y = x2 as
have to approximate the curve by straight
shown in the figure by using trapezoidal
line segments and we have to evaluate the
rule
areas of corresponding trapeziums. For the
Hence J > I
curve y = x2, if we join any two points on
Correct option: (c)
the curve, the straight line joining the two
points lies above the curve, therefore the
value of the integral is greater than or equal
to exact value. But Simpson's rule gives the
exact value of the integral if f(x) is a
polynomial function of degree 3 .
Option (c) is correct
65. Ans: 2.33
Sol: Let f (x) = (x2 — 4x + 4)
f(x) = (2x — 4)
=3
f (xo )
xl = x0
f'(xo )
= 2.5
xo = 3, xi = 2.5
f(x0) = f(3) = 1 and
63. Ans: 4.3
f(xi) = f(2.5) = 0.25
Sol: f(x) = (x3 — 5x2 + 6x — 8)
f(x) = (3x2 — 10x + 6) ... By Secant method
f(x n ) x0f(x1 )— xif (X 0 )
Xn+1 = Xn X2 —
f'(x n ) f(x1 )—f(x0 )
f(x0 ) = 2.33
= xo
fl(xo )
ACE El iccri lig Publications e\>flyderabad I Delhi I Bhopal I Pune I Bhubaneswar Lucknow I Patna I Bengaluru I Chennai Vijayawada I Vizag I Tirupati j Kukatpally I Kolkata
114 ACE
4 z: Engineering Publicaiions : 369: Numerical Methods
Sol:
xo = 1
1
x 0 — 1 f(x0 )
2
9 39 12
f(x) 5 20 —5 = 1-- =5 =0.5
Yo Yl Y2
10
X 2 = X1 f (X1) = O. 3 043
r f )
fo
f(x) = — Ky, + Y2) + 4Y]
3
_ 1 9 +_12 )+ 4(31 72. Ans: (d)
6 [L5 5) 20 Sol: In numerical integration for Simpson's rule,
=2 the integrand function f(x) is approximated
by quadratic polynomial i.e
Parabola.
e>Hyderabad I Delhi I Bhopal I Pune I Bhubaneswar Lucknow I Patna I Bengaluru Chennai Vijayawada I Vizag I Tirupati I Kukatpally I Kolkata
ACE Engineering NW ication s‘
fo0s44,1 ACE
;0: r,lo Engineering Publications : 370: Engineering Mathematics
yo = 1, h = 0.1
ki= hf (xo, yo) = 0.1[1] = 0.1
I ACE EngInieering Publications 1/4e,‘ I
yderabad Delhi I Bhopal I Pune I Bhubaneswar Lucknow I Patna I Bengaluru I Chennai I Vijayawada I Vizag I Tirupati I kukatpally I Kolkata
4. ACE
V, Engineering Publications : 371: Numerical Methods
I = f (sin(x)+ cos(x))dx
x2 = yi = 1(1-2x, -zo )
3
= [- cos(x)+ sin x]o
1
= -(1-10 -0)=-3
3 = cos(0) - cos(n) + sin (n) - sin 0
x3 = zi = 3 - 3x1 -2yi = 1- (-1) = 2 (Exact value)
= 3 - 15 + 6 = -6 Error = Exact value - approximate value
x3 - -6 = 2 - 1.813799364
= 0.1862
79. Ans: (a)
Sol: Trapezoidal rule gives exact value, if f(x) is 81. Ans: (c)
a polynomial function of degree 1. i.e., Sol: Let f(x) = x3 +x -1 and xo =1
linear. Then f'(x) = 3x2 +1
f(x0 )
80. Ans: 0.1862 x, = xo f
,
(x0)
rz
ACE Engineering Publications >Hyderabad I Delhi Bhopal I Pune 'Bhubaneswar! Lucknow Patna' Bergaluru Chemai Vijayawada I Arizag I TiruPali I KukatPallY I Kolkata
'44
4r 4 ACE
4
'5 Engineezing Publications : 372: Engineering Mathematics
41.
= 0.75 f(0.75)
f(x) = - 5 + x(0)+ (- 6)
2 f'(0.75)
= -3x 2 -5 0.1718
= 0.75
2.6875
= 0.75 - 0.0639
x2 = 0.6861
ACE Engilicering Publications e>lyderabad I Delhi I Bhopal I Pune I Bhubaneswar Lucknow [Patna I Bengaluru I Chennai I Vijayawada I Vizag I Tirupazi I Ku tally I Kolkata
f ' ACE
Jr4
F
ngineez
iog Publications : 373: Numerical Methods
87. 88.
Sol: du 2
S01: — = 3t +1, u(0)=0, h = At = 2
x 0 0.5 1 dt
y 3 4 5 du = (3t2 + 1) dt
Jdu = J (3t2 + 1) dt
1 11-=t3 +t+c (1)
Where, h = — = 0.5
2 u(0)= 0 : (1) 0=C
(1)= u = t3 + t
Using Trapezoidal rule,
Now, at t = 2, u = 23 + 2 = 10 is the exact
f(x)dx = —
1-1 [(yo + y2 + 2(y, )] solution
Jo
2 The first approximation is
ui = u0 + hf(t0, u0), where f(t, u) = 3t2 + 1
=1 + 5) + 2(4)]
4 = 0 + 2 f(0, 0)
=4 = 2(1)
ui = 2 is the numeral solution
Using simpson's rule (or) approximate solution
Error=lexact solution— approximate solution]
co f(x)dx = Kyo + y2 )+ 4y, ]
3 =110 — 21
1r =8
= — [8 +16] =4
6
The difference between the two results
=0
ACE ing Puhlicuiuns >Hyderabad' Delhi I Bhopal I Pune I Bhubaneswar' Lucknow I Patna l Bengaluru I Chen nai Vijayawada I Vizag I Tirupati I Kukatpally I Kollcata
I