Answer on Question #51400 – Math – Algorithms | Quantitative Methods
The current in an electric circuit is given by where is the time in seconds. Using the bisection method, estimate the time required for the current to reach 1 amp (correct up to 2 decimal places)
Solution
We must solve the equation using the bisection method.
The input for the method is a continuous function , an interval , and the function values and . The function values are of opposite sign (there is at least one zero crossing within the interval). Each iteration performs these steps:
1. Calculate , the midpoint of the interval, .
2. Calculate the function value at the midpoint, .
3. If convergence is satisfactory (that is, is sufficiently small, or is sufficiently small), return and stop iterating.
4. Examine the sign of and replace either or with so that there is a zero crossing within the new interval.
Let's start with values of and .
So, for example, on the first iteration we get and so must replace the value of the left endpoint of interval with hence narrowing the interval.
Iteration process is represented by the following table:
We see that root of the equation is 1.11524 with accuracy up to two decimal places.
www.AssignmentExpert.com
Comments