Professional Documents
Culture Documents
Assignment 1
Assignment 1
Assignment No. 1
Date of Submission: __________
Date: 25/10/2011
Degree: __________________________________
Syndicate: ________________________________
Registration: ______________________________
NAME: ___________________________________
Declaration
I declare that the attached coursework is entirely my own work.
Signed .........................................................................................................
Date .............................................................................................................
x
Q. 1: The single positive zero of the function f ( x) = x tanh( ) - 1 models the wave
2
number of the water wave at a certain frequency in water of depth 0.5 (donot worry about
the units here).
a) Find two points which bracket the zero of f (x)
b) Use the Bisection Method to approximate the zero of f (x) to four decimal places
c) Wirte a Matlab code for the Bisection Method and approximate the zero of f (x) to
six decimal places. Find the error in your answer.
Q. 2: Approximate
1