Sunteți pe pagina 1din 6

University of Bahrain

College of Information Technology


Department of Computer Engineering

ITCE 380: Numerical Analysis


Experiment #3: Bisection Method

STUDENT’S NAME: Amna Azmat Raza Malik


STUDENT’S ID: 20161934
DATE OF SUBMISSION: 28 Oct 2018
AIM: The aim of this experiment is to get familiar with Bisection method and
to use it in MATLAB software.
INTRODUCTION: The bisection method in mathematics is a root-finding
method that repeatedly bisects an interval and then selects a subinterval in
which a root must lie for further processing. It is a very simple and robust
method, but it is also relatively slow. Because of this, it is often used to obtain a
rough approximation to a solution which is then used as a starting point for
more rapidly converging methods. The method is also called the interval
halving method, the binary search method, or the dichotomy method. It is the
simplest among all the numerical schemes to solve the transcendental
equations.
Procedure:
1) MATLAB was opened and run the file “exp3bisec3.m” was runned.

2) The root of the function f(x) = x3 – 6x2 + 10x – 4 between 0 and 1 was calculated
for tolerance = 0.01
3) Repeated for tolerance = 0.00001.

4) The root of f(x) = 3x cos(x) – 5e-x sin(x) + 4 with tolerance = 0.00001.


5) The forward biased diode current equation as a function of its voltage is as follows:

I = Is 𝑒40𝑉
Assume Is of the diode of the following circuit is 1 pA = 10-12 .The exact value of V
(within 0.001 tolerance) for the interval [0,1] using the following relation: I = (12 – V) /
100 = Is 𝑒40𝑉 was calculated
6) The DC supply from 12 V to 5 V. Repeat step 6.
CONCLUSION:
In this experiment we learnt how to apply bisection method using Matlab software.
Also we compared the results of Matlab with our hand solution to check the
accuracy of it. Finally, we obtain a biasing diode function and we had the exact
results for it using the software. In general Matlab is really useful program for
designing graph and mathematical operations.

S-ar putea să vă placă și