Professional Documents
Culture Documents
SECTION 5
CONTENT PAGE
1.0 Introduction
1.2 Algorithm
3.0 Conclusion 16
4.0 Appendices 17 - 18
2
1.0 INTRODUCTION
3
Case 2: Cantilever beam with uniform load
4
The procedure of the project:
r = support reaction
n = hinge
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 )
5
Enter the value for uniform load
Enter length of beam
Enter modulus elasticity
Enter moment inertia
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
6
1.2.2 Flowchart
Start
g = r, h = n + 3
No
g == h
Yes
7
1 2
Ra = Fy/L
Rb = ( F – Ra )
Mmax = Fxy/L
No
Display the reaction at
support Ra and Rb and
the maximum bending
moment at point of load
End
8
Please enter the value for Please enter the value load
uniform load, length of per unit length, length of
beam, modulus elasticity beam, modulus elasticity
and moment inertia and second moment area
reaction = wL reaction = F
Return Return
9
2.0 Description of the program
This program is made to calculate the reaction, maximum bending moment, maximum
deflection and end slope of statically determinate beam.
All the variables need to be declared. In this program we are using several variables which is:
r = support reaction
n = hinge
F = force
E = modulus elasticity
10
Figure 2: Shows the declaration of variables
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;
User will enter which cases they want which is case 1, case 2 or case 3.
11
Figure 4: ask to choose the cases
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.
12
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.
13
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.
14
After compiling the file, the program is run.
15
3.0 Conclusion
Using solid coding techniques and good programming practices to create high quality
code plays an important role in software quality and performance. In addition, by consistently
applying a well-defined coding standard and proper coding techniques, and holding routine
code reviews, a team of programmers working on a software project is more likely to yield a
software system that is easier to comprehend and maintain.
16
4.0 Appendices
17
Figure 4.4: Leader teach how to coding the program
18
4.1 Minute of meeting
Members Apologies:
None
CHAIRPERSON ADDRESS
1.0
Chairperson starts the meeting by asking if the members have any Amyrah
ideas for the topic of proposal for programming project Syahyerah and
Nur Izzaty are The other members
willingly to are agree with the
search journal decision
and book at the
library
2.0 PAPER PRESENTATION BY MR. ANDIK MOHD AZRIL
- - -
3.0 CLOSING
______________________ ____________________
Andik Mohd Azril Bin Mohd Nasir Nur Razin Bin Nor’Aini
(Secretary) (Chairperson)
19
MINUTE OF MEETING 2/2016
COMPUTER PROGRAMMING PROJECT
FACULTY OF CIVIL & ENVIRONMENTAL ENGINEERING
Members Apologies:
None
CHAIRPERSON ADDRESS
1.0
Chairperson asks for the progress of finding the topic for proposal Amyrah
programming project Syahyerah and
Nur Izzaty show The other members
the journal and are satisfied with the
the book that topic chosen
they have found
at the library
2.0 PAPER PRESENTATION BY MR. ANDIK MOHD AZRIL
Ask the members if there have any problems about the idea that All members are
have been chosen - agree with the idea
that have been chosen
3.0 CLOSING
__________________ ____________________
Andik Mohd Azril Bin Mohd Nasir Nur Razin Bin Nor’Aini
(Secteary) (Chairperson)
20
MINUTE OF MEETING 3/2016
COMPUTER PROGRAMMING PROJECT
FACULTY OF CIVIL & ENVIRONMENTAL ENGINEERING
Members Apologies:
None
CHAIRPERSON ADDRESS
1.0
Chairperson divides task to each members 1.Mr Razin will
do the
introduction part
2.Mr Andik will
do the
The other members
conclusion and
are agree with the
appendices part
task given
3.Miss Amyrah
Syahyerah and
Miss Nur Izzaty
will do the
description part
2.0 PAPER PRESENTATION BY MR. ANDIK MOHD AZRIL
- - -
3.0 CLOSING
__________________ ____________________
Andik Mohd Azril Bin Mohd Nasir Nur Razin Bin Nor’Aini
(Secteary) (Chairperson)
21
MINUTE OF MEETING 4/2016
COMPUTER PROGRAMMING PROJECT
FACULTY OF CIVIL & ENVIRONMENTAL ENGINEERING
Members Apologies:
None
CHAIRPERSON ADDRESS
1.0
Chairperson asks the progress of task that had been given All members
show the task
that had been
done The other members
1. Miss Amyrah are agree with the
Syahyerah and task given
Miss Nur Izzaty
will do the
coding part
2.0 PAPER PRESENTATION BY MR. ANDIK MOHD AZRIL
Ask the members if there have any problems about the project and -
coding -
3.0 CLOSING
__________________ ____________________
Andik Mohd Azril Bin Mohd Nasir Nur Razin Bin Nor’Aini
(Secteary) (Chairperson)
22