Question

In: Computer Science

Solve f(x) = x3 + 12x2 - 100x – 6 using false position with a =...

Solve f(x) = x3 + 12x2 - 100x – 6 using false position with a = 5, b = 6, and es =0.5%. Show each step and create a table. Please be as detailed as you can.

Solutions

Expert Solution

At first, we need to verify that for given value of and :

This ensures that the function has opposite sign in the interval, this means it has crossed the y=0 line and contains a root within.

For your reference, the formula for calculating approximation of root at each iteration is:

As at root, the function should ideally take the value of '0', the tolerance of 0.5% is being taken as:

"the value of x at which the function satisfies:

First iteration:

a=5 => f(5.)=-81

b=6 =>    f(6)=42   

Putting these value in above formula gives:

This finally gives: xn=5.658537 ,f(5.658537)=-6.444335, here: , hence we continue iteration

Now as f(xn)f(b)<0 =>a=xn =5.658537, for the next iteration

Second iteration:

a=5.658537    => f(5.658537)=-6.444335   

b=6 => f(6)=42   

xn=5.703960 => f(5.703960)=-0.394841, here: , hence we continue iteration

Now as f(xn)f(b)<0 =>a=xn =5.703960 for the next iteration

Third iteration:

a=5.703960    => f(5.703960)=-0.394841   

b=6.000000    => f(6.000000)=42.000000

xn=5.706717   => f(5.706717)=-0.023782, here: , hence we continue iteration

Now as f(xn)f(b)<0 =>a=xn =5.706717 for the next iteration

Fourth iteration:

a=5.706717    => f(5.706717)=-0.023782   

b=6.000000    => f(6.000000)=42.000000  

xn=5.706883   => f(5.706883)=-0.001431, here: , hence we stop the iterations!

Now we have xn =5.706883 as the root for our function!!!

Hope this helps!


Related Solutions

Solve by Excel Solver using  branch and bound method. Minimise: f = 4x1 + 5x2 + x3...
Solve by Excel Solver using  branch and bound method. Minimise: f = 4x1 + 5x2 + x3 + 4x4 + 2x5 + 11x6 + 2x7 Subject to: g1 = 2x1 + 4x2 + 5x3 + 7x4 + x5 + 4x6 + 10x7 ≥ 110 g2 = 4x1 + x2 + 5x3 + 7x4 + 3x7 ≤ 80 g3 = 2x1 + 5x2 + 3x3 + 3x4 + x5 + 8x6 + x7 ≥ 40 x1, x2, x3, x4 ∈ {1, 2,...
Find the absolute maxima and minima for f(x) on the interval [a, b]. f(x) = x3...
Find the absolute maxima and minima for f(x) on the interval [a, b]. f(x) = x3 − 2x2 − 4x + 4,    [−1, 3] absolute maximum     (x, y) =    absolute minimum     (x, y) =    2. f(x) on the interval [a, b]. f(x) = x3 − 3x2 − 24x + 8,    [−3, 5] absolute minimum (x, y) =    absolute maximum (x, y) =
Find the absolute maxima and minima for f(x) on the interval [a, b]. f(x) = x3...
Find the absolute maxima and minima for f(x) on the interval [a, b]. f(x) = x3 − 2x2 − 4x + 4,    [−1, 3] absolute maximum     (x, y) =    absolute minimum     (x, y) =    2. f(x) on the interval [a, b]. f(x) = x3 − 3x2 − 24x + 8,    [−3, 5] absolute minimum (x, y) =    absolute maximum (x, y) =   
Use the False Position method to find a guess of the root of f(x) = cos(x2...
Use the False Position method to find a guess of the root of f(x) = cos(x2 ) with lower and upper bounds of 0 and 2, respectively. Then, narrow the interval and find a new guess of the root using False Position. What is your relative approximate error? a. 8.47% answer b. 12.45% c. 0.112 d. 0.243 e. None of the above Please provide complete solution how the answer is a thumbs up for correct and neat solution! step by...
consider the function f(x) = 1 + x3  e-.3x a. what is f'(x) b. what is f''(x)...
consider the function f(x) = 1 + x3  e-.3x a. what is f'(x) b. what is f''(x) c. what are the critical points of f(x) d. are the critical points a local min or local max or neither? e. find the inflection points f. if we define f(x) to have the domain of [2,50] compute the global extreme of f(x) on that interval
Choose ALL the statements that are true for f(x)=12x-x3 a. The graph of f(x) is increasing...
Choose ALL the statements that are true for f(x)=12x-x3 a. The graph of f(x) is increasing on (-2,2) b. f(x) has no inflection point c. The graph of f(x) is concave downward on (- infinity,0) d. The graph of f(x) is decreasing on (-2,2) e. f(x) has an inflection point at x=0 f. The graph of f(x) is concave upward on (-infinity,0)
True and False (No need to solve). 1. Every bounded continuous function is integrable. 2. f(x)=|x|...
True and False (No need to solve). 1. Every bounded continuous function is integrable. 2. f(x)=|x| is not integrable in [-1, 1] because the function f is not differentiable at x=0. 3. You can always use a bisection algorithm to find a root of a continuous function. 4. Bisection algorithm is based on the fact that If f is a continuous function and f(x1) and f(x2) have opposite signs, then the function f has a root in the interval (x1,...
Consider the following functions. g(x) =x3 − 10x h(x)=4x2 + 3x f(x)=(x3 − 10x)(4x2 + 3x)...
Consider the following functions. g(x) =x3 − 10x h(x)=4x2 + 3x f(x)=(x3 − 10x)(4x2 + 3x) Find the derivative of each function. g '(x)= h '(x)= f '(x)=
Let X = ( X1, X2, X3, ,,,, Xn ) is iid, f(x, a, b) =...
Let X = ( X1, X2, X3, ,,,, Xn ) is iid, f(x, a, b) = 1/ab * (x/a)^{(1-b)/b} 0 <= x <= a ,,,,, b < 1 then, find a two dimensional sufficient statistic for (a, b)
Let F(x)=f(f(x)) and G(x)=(F(x))^2 . You also know that f(6)=14,f(14)=3,f′(14)=4,f′(6)=3. Find F′(6)= and G′(6)= .
Let F(x)=f(f(x)) and G(x)=(F(x))^2 . You also know that f(6)=14,f(14)=3,f′(14)=4,f′(6)=3. Find F′(6)= and G′(6)= .
ADVERTISEMENT
ADVERTISEMENT
ADVERTISEMENT