Question #51400

The current in an electric circuit is given by
i=t sin t
where t 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)
1

Expert's answer

2015-03-19T11:06:50-0400

Answer on Question #51400 – Math – Algorithms | Quantitative Methods

The current in an electric circuit is given by i=tsinti = t \sin t where tt 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 tsint1=0t \sin t - 1 = 0 using the bisection method.

The input for the method is a continuous function ff, an interval [a,b][a, b], and the function values f(a)f(a) and f(b)f(b). The function values are of opposite sign (there is at least one zero crossing within the interval). Each iteration performs these steps:

1. Calculate cc, the midpoint of the interval, c=0.5(a+b)c = 0.5 * (a + b).

2. Calculate the function value at the midpoint, f(c)f(c).

3. If convergence is satisfactory (that is, aca - c is sufficiently small, or f(c)f(c) is sufficiently small), return cc and stop iterating.

4. Examine the sign of f(c)f(c) and replace either (a,f(a))(a, f(a)) or (b,f(b))(b, f(b)) with (c,f(c))(c, f(c)) so that there is a zero crossing within the new interval.

Let's start with values of a=0a = 0 and b=2b = 2.


f(t)=tsint1f(0)=1f(2)=0.818595\begin{array}{l} f(t) = t \sin t - 1 \\ f(0) = -1 \\ f(2) = 0.818595 \\ \end{array}


So, for example, on the first iteration we get f(cn)=0.158529f(c_n) = -0.158529 and so must replace the value of the left endpoint of interval aa with c1=1c_1 = 1 hence narrowing the interval.

Iteration process is represented by the following table:



We see that root of the equation tsint1=0t \sin t - 1 = 0 is 1.11524 with accuracy up to two decimal places.

www.AssignmentExpert.com


Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

Comments

No comments. Be the first!
LATEST TUTORIALS
APPROVED BY CLIENTS