BFC 20802
COURSE NAME
PROGRAMMING
FACULTY OF CIVIL AND ENVIRONMENTAL
ENGINEERING (FKAAS)
1. NUR RAZIN BIN NORAINI
( DF140039)
2. ANDIK MOHD AZRIL BIN MOHD NASIR
(DF140098)
3. NUR IZZATY BINTI AZNI
(DF140090)
4. AMYRAH SYAHYERAH BINTI KEIRUDIN
(DF140087)
FACULTY
STUDENTS NAME
SECTION
LECTURER NAME
TABLE CONTENT
CONTENT
1.0
PAGE
Introduction
3-5
1.2 Algorithm
1.2.1 Pseudocode
1.2.2 Flowchart
5-6
7-9
10 - 15
3.0 Conclusion
16
4.0 Appendices
17 - 18
19 - 22
1.0 INTRODUCTION
1.1 Description of the project
This program is to analyse the statically determinate beam. In this project, we
are using three cases of statically determinate beam which is;
Case 1: Cantilever beam with one point load
(statically determinate)
r = support reaction
n = hinge
2. Calculate the support reactions.
3. Calculate the maximum bending moment.
4. Calculate the maximum deflection
5. Calculate the end slope
1.2 Algorithm
1.2.1
Pseudocode
Start
Insert the value r and n
g = r, h = n + 3
g=h
r = n + 3 ( the structure is statically determinate )
if else, the structure is statically indeterminate
please choose your case
case 1, case 2, case 3
if case 1 ( cantilever beam with point load )
Enter the value load per unit length
Enter length of beam
Enter modulus elasticity
Enter second moment area
Compute reaction = F
Compute end slope = ( F/2EL) x ( L2 x2 )
Compute maximum deflection = (Fy2/6EI) x (3L y)
Compute maximum bending moment = Fy
Display the reaction force at support of cantilever beam
Display end slope of cantilever beam
Display maximum deflection of cantilever beam
Display maximum bending moment of cantilever beam
If else if (case 2)( cantilever beam with uniform load )
Enter the value for uniform load
Enter length of beam
Enter modulus elasticity
Enter moment inertia
5
Compute reaction = wL
Compute end slope = ((w*pow(L,3))/(6*E*I))
Compute maximum deflection = ((w*pow(L,4))/(8*E*I))
Compute maximum bending moment = ((w*pow(L,2))/(2))
Display the reaction force at support of cantilever beam
Display end slope of cantilever beam
Display maximum deflection of cantilever beam
Display maximum bending moment of cantilever beam
If else if (case 3) ( simply supported beam )
Enter the value of force
Enter length of beam
Enter length from force to Ra and Rb
Compute Ra = Fy/L
Compute Rb = ( F Ra )
Compute Mmax = Fxy/L
Display the reaction at support Ra and Rb
Display the maximum bending moment at point of load
End
1.2.2
Flowchart
Start
g = r, h = n + 3
g == h
No
Yes
The structure is statically
indeterminate
Yes
case 1
No
Yes
case 2
No
1
1
7
Yes
case 3
Ra = Fy/L
Rb = ( F Ra )
Mmax = Fxy/L
No
End
reaction = wL
end slope = ((w*pow(L,3))/(6*E*I))
maximum deflection = ((w*pow(L,4))/(8*E*I))
maximum bending moment = ((w*pow(L,2))/
(2))
Display the reaction force at support, end
slope, maximum deflection and maximum
bending moment
Return
reaction = F
end slope = ( F/2EL) x ( L2 x2 )
maximum deflection = (Fy2/6EI) x (3L y)
maximum bending moment = Fy
Return
All the variables need to be declared. In this program we are using several variables which is:
r = support reaction
n = hinge
F = force
L = length of the beam
x = the length from force to Ra
y = the length from force to Rb
w = uniform load distribution
E = modulus elasticity
I = second moment inertia
reaction = shear force
end_slope = end slope
maximum_deflection = maximum deflection
maximum_bending_moment = maximum bending moment
10
First, user is ask to enter the value of r and n. This value will determine whether the
beam is statically determinate or statically indeterminate. If the output shows that the beam is
statically indeterminate, the program will end. In contrast, if the program shows statically
determinate, the program will proceed to the next stage.
Next, user is ask to choose which beam they want to calculate. The choice is;
Case 1: Cantilever beam with one point load
Case 2: Cantilever beam with uniform load distribution
Case 3: Simply supported beam with one point load
User will enter which cases they want which is case 1, case 2 or case 3.
11
If the user choose the case 1, then it is cantilever beam with one point load. In this case,
user can find reaction, maximum bending moment, end slope and maximum deflection. The
user only need to enter the value ask such as load per unit length, the length of the beam, the
modulus elasticity, and the second moment inertia.
If the user choose the case 2, then it is cantilever beam with uniform load distribution. In
this case, user can find reaction, maximum bending moment, end slope and maximum
deflection. The user only need to enter the value ask such as load per unit length, the length
of the beam, the modulus elasticity, and the second moment inertia.
12
If the user choose the case 3, then it is simply supported beam with one point load. In this
case, user can find reaction and maximum bending moment. The user only need to enter the
value ask such as force, the length of the beam, length from force to Ra and length from force
to Rb.
13
14
3.0 Conclusion
15
4.0 Appendices
16
17
18
: 30 March 2016
: 2:00 P.M. 4:00 P.M.
: Library UTHM
2.
3.
4.
Members Apologies:
None
NO
1.0
SUBJECT
ACTION BY
CHAIRPERSON ADDRESS
Chairperson starts the meeting by asking if the members have any
ideas for the topic of proposal for programming project
2.0
3.0
FEEDBACK
Amyrah
Syahyerah and
Nur Izzaty are
willingly to
search journal
and book at the
library
CLOSING
Prepared by:
Approved by:
______________________
____________________
(Secretary)
(Chairperson)
MINUTE OF MEETING 2/2016
COMPUTER PROGRAMMING PROJECT
FACULTY OF CIVIL & ENVIRONMENTAL ENGINEERING
DATE
: 2 April 2016
19
TIME
PLACE
2.
3.
4.
Members Apologies:
None
NO
1.0
SUBJECT
FEEDBACK
Amyrah
Syahyerah and
Nur Izzaty show
the journal and
the book that
they have found
at the library
CHAIRPERSON ADDRESS
Chairperson asks for the progress of finding the topic for proposal
programming project
2.0
ACTION BY
3.0
CLOSING
Chairperson will give the next task in the next meeting
Prepared by:
Approved by:
__________________
____________________
(Secteary)
(Chairperson)
: 12 May 2016
20
TIME
PLACE
2.
3.
4.
Members Apologies:
None
NO
1.0
SUBJECT
ACTION BY
FEEDBACK
CHAIRPERSON ADDRESS
Chairperson divides task to each members
2.0
3.0
CLOSING
Prepared by:
Approved by:
__________________
____________________
(Secteary)
(Chairperson)
MINUTE OF MEETING 4/2016
COMPUTER PROGRAMMING PROJECT
FACULTY OF CIVIL & ENVIRONMENTAL ENGINEERING
DATE
: 23 May 2016
21
TIME
PLACE
6.
7.
8.
Members Apologies:
None
NO
1.0
SUBJECT
FEEDBACK
All members
show the task
that had been
done
1. Miss Amyrah
Syahyerah and
Miss Nur Izzaty
will do the
coding part
CHAIRPERSON ADDRESS
Chairperson asks the progress of task that had been given
2.0
ACTION BY
Ask the members if there have any problems about the project and
coding
3.0
CLOSING
Chairperson reminds the members to complete the task given
before presentation day
Prepared by:
Approved by:
__________________
____________________
(Secteary)
(Chairperson)
22