Sei sulla pagina 1di 4

German University in Cairo

Engineering and Material Science


Civil Engineering Program
CIG 1001: Numerical Methods and Advanced Statistics
Assignment I
Deadline: Wednesday 10/4/2019

The Submitted Report should at least contain the following

1) Analytical solution:

Including all numerical methods and equations proofs used to solve the problem

2) Numerical MATLAB code:

Using MATLAB functions

3) List of symbols:

Table contain the used symbols and its definition

4) Tracing of the developed MATLAB function using MATLAB

Printing the output of the functions

5) Handwritten reports are not allowed

Dr. Amr ElNemr


German University in Cairo
Engineering and Material Science
Civil Engineering Program
CIG 1001: Numerical Methods and Advanced Statistics
Assignment I
Deadline: Wednesday 10/4/2019

[ 1 ]Develop a Matlab function to calculate the deflection values and the max bending moment applied
on the given cantilevers using the following given load, length and load distance values, then plot
the deflection values versus the length of the cantilevers.

P(KN) 22 25 21
L(m) 2 2.5 2.25
X(m) 1.5 2 1.25

P𝑥2(3x−L)
Deflection (q) =
160
Bending Moment (M) = Px

[ 2 ]Develop a Matlab function to find the unknowns after expressing the set of linear algebraic
equations in a matrix form

Dr. Amr ElNemr


German University in Cairo
Engineering and Material Science
Civil Engineering Program
CIG 1001: Numerical Methods and Advanced Statistics
Assignment I
Deadline: Wednesday 10/4/2019

[ 3 ]Develop a Matlab function to find the variation in depth (y) with respect to time (t) then plot the
results for the required time periods

Dr. Amr ElNemr


German University in Cairo
Engineering and Material Science
Civil Engineering Program
CIG 1001: Numerical Methods and Advanced Statistics
Assignment I
Deadline: Wednesday 10/4/2019

[ 4 ]Develop a Matlab function to find displacement vector x

Where ẍ1= -0.9, ẍ2= 0 & ẍ3 = 0.1

[ 5 ]Develop a Matlab function to solve the following system of equations

2x1 − 6x2 − x3 = −38


−3x1 − x2 + 6x3 = −34
−8x1 + x2 − 2x3 = −40

[ 6 ]Develop a Matlab function to estimate the root of the following function f(x)= x2+e-x-cos(x)-2 with
an initial guess xi=0.2, then get the number of iterations required to reach a precision of 2%

Dr. Amr ElNemr

Potrebbero piacerti anche