0% found this document useful (0 votes)
19 views9 pages

4.0 Numerical Analysis

Numerical Analysis

Uploaded by

BigBoss
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
19 views9 pages

4.0 Numerical Analysis

Numerical Analysis

Uploaded by

BigBoss
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 9

Welcome

Md. Abu Safayet


Lecturer
Dept. of Building Engineering and Construction Management
Khulna University of Engineering & Technology (KUET)
Khulna-9203, Bangladesh
Email- [email protected]
Md. Abu Safayet,
Md. AbuLecturer,
Safayet,Department
Lecturer, Department
of BuildingofEngineering
Building Engineering
& Construction
& Construction
Management,
Management,
KUET KUET
Md. Abu Safayet,
Md. AbuLecturer,
Safayet,Department
Lecturer, Department
of BuildingofEngineering
Building Engineering
& Construction
& Construction
Management,
Management,
KUET KUET
 Find a real root of the following equation (ε = 0.00001)
 𝒙𝒔𝒊𝒏𝒙 + 𝒄𝒐𝒔𝒙 = 𝟎

 Solution:

Let, 𝒇(𝒙) = 𝒙𝒔𝒊𝒏𝒙 + 𝒄𝒐𝒔𝒙

𝒇′ 𝒙 = 𝒙𝒄𝒐𝒔𝒙 + 𝒔𝒊𝒏𝒙. 𝟏 − 𝒔𝒊𝒏𝒙 (Diff.)

𝒇′ 𝒙 = 𝒙𝒄𝒐𝒔𝒙

Then, f(1) = 1.38177, f(2) = 1.402448,

f(3) = - 0.56663, f(𝝅) = -1


Md. Abu Safayet,
Md. AbuLecturer,
Safayet,Department
Lecturer, Department
of BuildingofEngineering
Building Engineering
& Construction
& Construction
Management,
Management,
KUET KUET
Iteration f(a) F’(a) ℎ 𝑎𝑛
No.(n) = (𝑎 + ℎ)

1 -1 -3.141593 -0.3183099 2.823282


2 -0.066187 -2.68146 -0.024683 2.7986
3 -0.000564 -2.635588 -0.000214 2.79839
4 -0.0000104 -2.63519 -0.000003947 2.79839

 So the real root of the equation is 2.79839

Md. Abu Safayet,


Md. AbuLecturer,
Safayet,Department
Lecturer, Department
of BuildingofEngineering
Building Engineering
& Construction
& Construction
Management,
Management,
KUET KUET
Md. Abu Safayet,
Md. AbuLecturer,
Safayet,Department
Lecturer, Department
of BuildingofEngineering
Building Engineering
& Construction
& Construction
Management,
Management,
KUET KUET
 Find a positive root of the following equation up to five
decimal places.
 𝒙𝒍𝒏𝒙 − 𝟓 𝒙 + 𝟐 = 𝟎

 Solution:

Let, 𝒇(𝒙) = 𝒙𝒍𝒏𝒙 − 𝟓 𝒙 + 𝟐

Then, f(0) = ∝
f(1) = -3 f(5) = -1.13
f(2) = -3.68 f(6) = 0.503
f(3) = -3.36
Md. Abu Safayet,
Md. AbuLecturer,
Safayet,Department
Lecturer, Department
of BuildingofEngineering
Building Engineering
& Construction
& Construction
Management,
Management,
KUET KUET
 So choosing 𝒙˳ = 𝟓
 Solution:

𝟏
we know, 𝒙 = ∅(𝒙) = (𝟓 𝒙 − 𝟐)
𝒍𝒏𝒙

Then, ∅(𝒙˳) = 𝟓. 𝟕𝟎𝟒𝟎𝟔𝟓 =𝒙𝟏


∅(𝒙𝟏 ) = 𝟓. 𝟕𝟎𝟗𝟔𝟗𝟕𝟎𝟗 = 𝒙𝟐
∅(𝒙𝟐 ) = 𝟓. 𝟕𝟎𝟗𝟖𝟑𝟖 = 𝒙𝟑

 So the real root of the equation is 5.709

Md. Abu Safayet,


Md. AbuLecturer,
Safayet,Department
Lecturer, Department
of BuildingofEngineering
Building Engineering
& Construction
& Construction
Management,
Management,
KUET KUET
Md. Abu Safayet,
Md. AbuLecturer,
Safayet,Department
Lecturer, Department
of BuildingofEngineering
Building Engineering
& Construction
& Construction
Management,
Management,
KUET KUET

You might also like