Problem 1 [6 pts]: For an iterative method, we define true relative error, Et, and approximate relative error, Ca, at iteration k (k = 0, 1, 2, . )...
Question

Can I please have help on problem 1? Matlab is needed for this problem. Thank you!

Image transcriptions

Problem 1 [6 pts]: For an iterative method, we define true relative error, Et, and approximate relative error, Ca, at iteration k (k = 0, 1, 2, ... ) as [current approximation - true solution) Xk+1 - x Et true solution x* current approximation - previous approximation Xk+1 - Xk Eg = [current approximation Xk+1 Consider function f (x) = xex - cosx. (1) Apply the bisection method to find the root of f (x) = 0 within interval (0, 1). Use (0, 1) as the initial bracketing interval. Iterate until &amp;q is less than 10-. Show &amp;t at each iteration - that is, plot et vs. iteration number. (To get the &quot;true&quot; solution, you may run the bisection method until Eq is very small, say, less than 10-7.) (2) Repeat (1) using the false-position (linear interpolation) method. (3) For the same equation, f(x) = 0, apply Newton's method with an initial guess of Xo = 1, and the same stopping criterion Ea &lt; 10-4. Again, plot &amp;t vs. iteration number. Then, try initial guess xo = -0.4 and xo = -0.5, and show what you get. (4) Solve the same equation using the secant method. Try initial guess xo = 0.0 and x1 = 1.0. Use the same stopping criterion Ea &lt; 10-4. Problem 2 [2 pts]: Prove that using the bisection method, the true error, Ixk+1 - x*|, is always less than or equal to the approximate error, xx+1 - Xkl, at any iteration. Note: In practice, it is usually impossible to calculate the true error, because the true solution x* is unknown. Therefore, what you have proven is a very nice feature of the bisection method. Problem 3 [2 pts]: Prove the following theorem. Theorem: Let p be a fixed point of g(x), i.e. g(p) = p. Suppose that g' (p) = 0, g&quot;(p) # 0. If the method of fixed-point iteration, Xk+1 = g(Xk), converges to x = p, then it converges quadratically.

gue vel laoreet ac, dictum vit

ur laoreet. Nam risus ante

sus ante, d

itur laoreet.

acinia p

, dictu

Fusce

amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pe

dictum vitae odio. Donec aliquet. Lorem ipsum do

aci

ec aliquet. Lorem ipsum

a. Fusce dui lectus

ultrices ac magna.

ur laoreet. Nam ris

ac, dictum vita

m risus ante,

Fusce dui lectus

ac, dictum vitae odio. Donec aliquet. Lorem ipsum

cing elit.

a. Fusce dui lec

ipsu

ac, dictum vit

at,

at,

ia

itur laoree

lestie consequat,

onec aliquet

lestie consequat, ultrices ac magna.

at,

nec fa

m ipsum

facilisis. Pellentesque dapibus efficit

, consectetur adipiscing elit. Nam l

cing elit. Nam lacinia

a. Fusce dui lec

, ultrices ac magna. F

tesque dapibus e

, ultrices ac magna. F

e v

f

ac, dictum vitae odio. Donec alique

ur laoreet. Nam risus ante

congue ve

consectetur a

sum dolor sit

dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing e

molestie consequat, ultrices ac magna. Fusce dui lec

aci

gue vel laoreet

m risus ante, da

congue vel laor

a. Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum d

a. Fusce dui lectus, congue vel laoreet ac, dictum vita

a. Fusce dui lectus, cong

Fusce dui lectus, con

ctum vitae odio. Donec aliquet. L

onec aliquet. Lorem ipsum dolor sit

dictum vitae odio. Don

et, consect

dictum vitae odio. Donec aliquet. Lo

lestie consequat, ultri

congue vel

s a molestie consequat, ultrices ac magna. Fusce dui lectus,

gue

at,

x

ur laoreet. Nam risus a

ur laoreet. Nam risus ante

rem ipsum dolor sit amet, consectetur

usce dui lec

sus ant

risus ante

e vel laoreet ac, dictum vitae odio. Done

lestie con

a molest

s a mol

inia pulvinar tort

m ipsum dolor si

facilisis.

risus ante, dapibus a molest

at, ultrices ac

congue vel

acinia pulvinar tortor nec facil

, consectet

lestie consequat, ul

molestie

Fusce dui lect

tesque

et, consectetur a

icitur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lect

ur la

at,

rem ipsum

a. Fusc

itur laoreet. Nam risus ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel l

at,

at,

trices

ipsum dolor sit amet, consectetur adipisci

ctum vitae odio. Donec aliquet. L

fficitur laoreet. Nam

, dictum vitae

gue vel laoreet ac,

m risus ante, da

gue vel laoreet ac,

e v

trices

nec facilisis. Pellentesque dapibus eff

e v

gue vel laoreet ac,

, dictum vitae

gue vel laoreet ac,

a. Fusce dui lectus, congue vel lao

u

amet, consectetur adipiscing elit. Nam lacinia pulvinar

nec fa

ur laoreet. Nam risus ante

sus ante, d

consectetur a

sum dolor sit

e vel laoreet

et, consect

at, ultrices ac magna. Fusce

dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing e

molestie consequat, ultrices ac magna. Fusce dui lec

aci

risus

or nec

ultrices ac

nec facilisis. Pellentesque dapibus effi

gue vel laoreet ac,

ec facilisis. Pe

ur laoreet. Nam risu

gue vel laoreet ac,

o. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipi

ipiscin

, consec

facilisis.

o. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar

ipiscin

rem ipsum

Fusce dui lect

icitur laoreet.

entesque dapib

, ultrices ac ma

gue

at,

trices

ipsum dolor sit amet, consectetur adipisci

fficitur laoreet. Nam risus ante,

fficitur laoreet. Nam

, dictum vitae

gue vel laoreet ac,

m risus ante, da

gue vel laoreet ac,

e v

Step-by-step explanation

a. Fusce dui lectus, congue vel laoreet ac, dictum vi

ultrices ac magna. Fusce dui lectus, congue vel la

nec facilisis. Pellentesque dapibus eff

risus ante, dapibus a molestie consequat, ultrices ac magna.ec facec facFuscec facec faccing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a

ac, dictum vitae odisusng elconnec facilisis.fusce dui lectus, congue velxa. Fuct,xllor,xec f0ec f0lfcing elit. Na0,fitur laoreet0,lusce dui lefsom risus ante, dapibus adictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing eFuscedictum vitae odio. Donec aliquet. Lorem ipo. Donm ipsDsuet, consla. Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Dolrem ipsum dolor sit amet, consectetur adipiscing elit. Nam laciusce dui lectus, congue velongue vel laoreeuongue ve0ongue vel laoreet aonecsus ante, dapibus a molestie coat, ulipiscing elit.fcefinic, cflefipsum dolor sit amet, cfitur laoreetfce dui lectus, congflefllentesquesus ante, dxlxtricesx,,llur laoreet. Name vel laoreet ac, dictrem ipsummolestie cxsuamet, consectet,rem ipsumur laoreexsuitur laoreet. Nuscrem ipsumur laoreexsuet, consectetur adliscing elit. Nam lacinia pulvinarxa. Fuct,xllor,xec f0ec fflllex0, dictum0,fcing elit. Na0,la molestie, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit.Fusceia pulvinar tortor nec facilisis. Pellentesquefficitur laoreetfsoultrices acfsoia pulvinar tortorm ipsonec aliquet. Lorem ipsum dolsucingx0s a molestie consesucing elit. Nam lacinia pulvinar tortor nec facilisix0nec facilisix0squex0risus ante, dapibus auacinia pulvi0inia pulvinar tortorng elec aliquet. Lorem ipsumx0Fusce dui0sum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor neconec, dictum vitae odio. Donec aliquet. Lx0lestie consequat, ultx0dictum vitae odio. Donec aliquet. Loreusce dui lectus, congue velxx0itur laoreet. Nam risus ante, dapibxongue vel laoreet ac,xa. Fuct,xllor,xdictum vitae oxitct,xor nect,xleor,xtrices ac magna. Fufmolestiefslgx0ic0u,acinia p0ullacill0u,or nec facilisis. Pex0ipiscinglrisusfgue vel laoreetfinxat, ultrices ac magna. Fusce dui lectus,fxat, ulm ipsum dolor sit amefur laicllenfpulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risuulsuctum vitae odio. Donec aliquet. Lorem ipsum da molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac,Donec alng el, ultrices ac maung elit. Nam las ante, dapibus a molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dmolestie consusce dui lecm ipsum dolor sit amet, cfat, ulsus ante, dxcextricesxac,o. Donec aliur laoreet. Nam risusongue vemolestie cxsuipsum dolor si,ongue veur laoreexsumolestie consuscongue veur laoreexsudictum vitae odio. Donx,xrisus ante, dxcextricesxgtrices ac magna. Fcingongue veur laoreexsuipsum dolor si,ongue veur laoreexsuac, dictumsque dapixtesque dapxat, ulacinia pulvildictum vitae odio. Donec aliquet. Loregue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pmolestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae, dictumentesque dapibus efficitur laoreet. Nam risua molestie consequat, ultrices ac magna. Fusce dui lectus, congue vel laoreet ac, dictum vitae odio. Donec aliquet. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nam lacinia pulialcinglcinglcinglng eipiscing elit. Nam lacinia pulvinar tortor nec facilisis. Pellentesque dapibusec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante,acinia pulvinar tortor nec facilisis. Pellentesque dapibus efficitur laoreet. Nam risus ante, dapibus a molestie consequat, uur laoreeaciniaonecacita. Fusce dui lur laoreet. Nam risiscing elitctum vititur laoreet. Nam rliscing elitentesquea molestie consequxiscing elitentesquesque dapibus

onec aliquet. Lorem ipsum dolor sit amet,

475,548 students got unstuck by Course
Hero in the last week