CE317 Computer Methods in Civil Engineering

 

Assignment #2

Due date:

 

 

1-     Consider the equation =0.

 

a-     Use the bisection method to estimate the numerical value of the smallest positive root within a relative true error |Єt|< 1%. Employ initial guesses of xl = 0. and xu = 1.

 

b-    Repeat part (a) using the false-position method.

 

c-     Compare the two methods in terms of convergence.

 

 

 

2-    Do Problem 5.12 in your textbook (but with  Єs = 1%). Employ initial guesses of ml = 10 kg and mu = 100 kg for the mass of the parachutist.

 

 

3-    Use “Mathematica” to find all the roots of the following equations

 

a-     a3 –9a2 +18a –6 = 0 for a

 

b-    ex –3x2 = 0 for x

 

c-     a2 –b -3 = 0  &  ab +2b2 -4 = 0   for a & b

 

 

4-    Repeat problem 3 using “Excel”.