[Solved] UVU CS-3320 Numerical Software Development -Assignment 2

$25

File Name: UVU_CS_3320__Numerical_Software_Development__Assignment_2.zip
File Size: 536.94 KB

SKU: [Solved] UVU CS-3320 – Numerical Software Development -Assignment 2 Category: Tag:
5/5 - (1 vote)

SECTION 1.1Exercise 5) Consider the equation x 4 = x 3 + 10.

a) Find an interval [a, b] of length one inside which the equation has a solution

b) Starting with [a, b], how many steps of the Bisection Method are required to calculate the solutionwithin 10 -10? Answer with an integer.

Computer Problem 2) Use the Bisection Method to find the root to eight correct decimal places. MATLAB Code for Bisection Method (code from textbook):

function xc = bisect(f, a, b, tol)if sign(f(a)) * sign(f(b)) >= 0error(f(a)f(b) < 0 not satisfied!) % Ceases executionend

a) x 5 + x = 1

b) sin(x) = 6x + 5

c) ln(x) + x 2 = 3

SECTION 1.2Exercise 1) Find all fixed points of the following g(x).a) x/3

b) x 2 2x + 2

c) x 2 4x + 2

Exercise 7) Use Theorem 1.6 to determine whether Fixed-Point Iteration of g(x) is locally convergent tothe given fixed point r.Theorem 1.6 : Assume that g is continuously differentiable, that g(r) = r, and that s = | g(r) | < 1.Then Fixed-Point Iteration converges linearly with rate S to the fixed point r for initial guesssufficiently close to r .a)g(x) = (2x 1) 1/3, r = 1

b) g(x) =x3 +1 /2 , r=1

c) g(x) = sin(x) + x, r = 0

Computer Problem 1) Apply Fixed-Point Iteration to find the solution of each equation to eight correctdecimal places.

a) x 3 = 2x + 2

b) e x + x = 7

c) e x + sin(x) = 4

Reviews

There are no reviews yet.

Only logged in customers who have purchased this product may leave a review.

Shopping Cart
[Solved] UVU CS-3320  Numerical Software Development -Assignment 2[Solved] UVU CS-3320 Numerical Software Development -Assignment 2
$25