0% found this document useful (0 votes)
25 views

X F (X F ' (X X U (X U ' (X X X X 0 Using Fixed Point Iterations Starting From X X

Computational Physics PIEAS practice problems

Uploaded by

Daiyan Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
25 views

X F (X F ' (X X U (X U ' (X X X X 0 Using Fixed Point Iterations Starting From X X

Computational Physics PIEAS practice problems

Uploaded by

Daiyan Khan
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 1

Computational Physics Assignment # 2 Due on:

Attempt using Python.

1. Find a root of f ( x )=exp (−x ) −x=0 for x ∈ [ 0.2 ,1.8 ] using:


a. Subdividing the search interval in 1:2 ratio.
b. Subdividing the interval using the Golden ratio.
2. . Find root of f ( x )=ln ( x ) =0 by Newton Raphson’s method starting with
a. x 0=2.5
b. x 0=4.5
Discuss your results.
3. For f ( x )=0, show that it has roots same as those of u ( x )=f (x)/ f ' (x)=0. This implies
that one can use “Extended” Newton’s Method: instead of x i+1=x i−f ( x i) /f ' ( x i), one can
use: x i+1=x i−u ( xi )/u ' (x i). Compare the performance of the “Extended” with the
“Standard” Newton-Raphson Method taking f ( x )=exp (−x ) −x with starting point
x 0=0.8 .
4. Locate the root of f ( x )=2 sin ( √ x )−x=0 using fixed point iterations starting from
x 0=0.5 with convergence criteria: ϵ =10−3 .
5. Using Secant method, find a positive root of f ( x )=sin ( x )−cos ( 1+ x 2) −1=0 starting with
x i=3 , xi −1=1.5 and ϵ =10−5 .

You might also like