Sei sulla pagina 1di 2

EMT 101- Engineering Programming Homework 3

1 Deflection of an I-Beam(100 %)
You are to develop a program that calculates and plots the vertical deflection
of a beam subjected to a force acting on it as given in Figure 1. The I-Beam
has length, L = 2m with its left end fixed at the wall (no deflection at wall).
The right end of the beam is applied with a vertical load force P with a vertical
deflection function

P x2
v(x) = (3L x) (1)
EI(x)

where x = [0, L] and I(x) is the moment of inertia of the cross section about its
neutral axis(second moment of inertia) defined as

wh3 (h 2t)3 (w b)
I(x) = (2)
12
The beam has a cross-sectional diagram in Figure 2 and has the following
properties.

w = 150mm for 0 x < L/2; w = 90mm for L/2 < x L

h = 100mm; b = 5mm; t = 8mm

Assume that the Youngs Modulus (the inherent strength of the beam) E =
7 1010 P a and that the load at the tip P = 3kN . Your code should have the
following:

1. A function or subroutine to compute the second moment of inertia I(x)

2. A function or subroutine to compute the overall deflection v(x) of the I-


beam.

3. A function or subroutine to plot the deflection v(x) over x = [0, L]

1
wh3 (d 2t)3 (w b)
I= (1)
12
The values for the I-beam are as follows:
w = 15 0 mm for 0 x L/ 2; w = 9 0 mm for L/ 2 < x L;

h = 10 0 mm; b = 5 mm; t = 8 mm
A ssume Y oungs modulus E = 7 0 10 9 P a. Consider the load P = 2k N .

P
L

Figure
Fig. 1: Cantilever
1: Vertical withon
load P acting load P.
I-beam.

W rite a code to plot and label the displacement of v(x) above. Y our code
should contain the following:
i a function to compute I

ii an output to displaye the maximum value of v


w

t
Submission InstructionFollow Exactly

R az i A bdul R ahman
b
h

Figure 2: Cross section of I-beam. t is equal for the top and bottom flanges
Fig. 2: Cross-sectional diagram of I-beam.

1. Name your main file as testXXXX.m and your function file as beamXXXX.m.
XXXX is your last 4 digits of matriculation number.

2. Zip the file and email to arahman@eng.usm.my. Write in the email


subject: EMT101-TEST 2

3. The subject is important for my email filter.

Potrebbero piacerti anche