project matlab group one,dzaklo courage kwasi
DESCRIPTION
project that was given to us to perform and that was the result. it is a starting point so i seek to improve upon it in the near futureTRANSCRIPT
MATLAB GROUP ONE
MEMBERS1) 5876911 MADUEKWE, Chinedu 2) 7738912 DONKOR, Hoseas Kofi3) 7734312 ABDUL, Rasheed Mohammed4) 7736212 AMOAKO, Steve Ahenkora5) 7739312 DZAKLO, Courage Kwasi6) 7741312 OGBETUO, Diamond7) 7734812 ADOMAH, Clarence Yaw8) 7741812 OSEI-BOATENG, Jeremiah
PROJECtSLAB DETAILING:CALCULATIONS OF QUANTITIES AND LENGTHS OF VARIOUS REINFORCEMENT BARS USED IN SLABS
DETAILS OF THE PROJECT
d
b
ca1
A
B
2
1
3
2
5
4
DETAILS OF THE PROJECTThe program takes into account a main slab(a*b) and the adjacent slab’s lengths(c and d).
It calculates all quantities of bars of the two orientations(vertical or horizontal)
It takes into account the ‘c’ and ‘d’ in the calculations of length of bars in the main slab.
Through interactions with the user and the program other values are inputted.
The three main types of bars used in the program are the top, bottom and distribution bars.
The added part of the program is to estimate the price of bars needed after knowing the quantities (i.e. if only the price of a unit meter bar is known )
Values inputted-depending on the preference of the user (engineer , professional)-
n denotes cover
s denotes column size
t denotes slab thickness
e denotes spacing
p denotes price of unit meter bar
Program pseudocode1. Start the program2. Inputs
a denotes ‘length of the main slab’ b denotes ‘breadth of the main slab’ c denotes ‘length of adjacent slab (either left or right of main slab)’ d denotes ‘breadth of adjacent slab (depends on the side selected
in ‘c’ above)’ n denotes ‘the cover’ s denotes ‘column size’ t denotes ‘slab thickness’ e denotes ‘spacing of bars’ p denotes ‘price of a unit meter bar’
Program pseudocode3. Selection of case to use in calculations(case 1 is for the calculations using
the ‘a’ span for bars orienting vertical and case 2 for the calculations using the ‘b’ span for bars orienting horizontal)
4. (a) for case 1;
T=[(a/e)-1] Top bar quantity
E=[0.3*b]+[0.3*d] Top bar length
P1=[(T*E*x)/1000] price of a unit meter of top bar
B=[(a/e)-1] Bottom bar quantity
F=[(1.6*b)+(2*s)-(8*n)+(2*t)] Two folded bottom bar length
P2=[(B*F*x)/1000] price of a unit meter of bottom bar with two sides folded
G=[(1.3*b)+(2*s)+(t)-(4*n)+300] Bottom bar with one side folded length
P3=[(B*G*x)/1000)] price of a unit meter of top bar with one side folded
D=[(a/(e+300)] distribution bar quantity
H=[0.6*b)] distribution bar
P4=[((D*H*x)/1000)] price of a unit meter of a distribution
Program pseudocode4. (b) For case 2;
T=[(b/e)-1)]
E=[(0.3*a)+(0.3*c)]
P1=[(T*E*x)/1000]
B=[(b/e)-1)]
F=[1.6*a)+(2*s)-(8*n)+(2*t)]
P2=[(B*F*x)/1000)]
G=[(1.3*a)+(2*s)+(t)-(4*n)+300]
P3=[(B*G*x)/1000)]
D=[(b/(e+300)]
H=[0.6*a]
P4=[(D*H*x)/1000]
Program pseudocode
5. EVALUATION: If values of T, B and D are whole numbers ‘maintain the values’ but if decimal round to the next whole number.
6. EVALUATION: If value of D is even ‘maintain’ but if odd add one (1) to the value.
7. Display (T, E, P1) , (B, F, P2) , (B, G, P3) , (D, H, P4).
8. Stop the program.
FLOWCHART
NO
YES
Whole
num
bers
and m
ain
tain
Deci
mal num
bers
Even
(T,
B, D
)? T= ceil (T)
B= ceil (B)
D= ceil (D)
D
?
VA
LUE O
F ‘D
’D
= D
+1
Odd
CA
SE
2TYPE
OF
CA
SE
?
INPU
TS
( a,
b,
c, d
, n, s,
t, e, p
)
CA
LCU
LATIO
NS (
T, B
, D
, E
, F,
G,
H)
T= [(b/e)-1]
B= [(b/e)-1]
D= [b/ (e+300)
E= [0.3*a0.3*c]
F= [1.6*a)+(2*s)-(8*n)+(2*t]
G= [1.3*a)+(2*s)+(t)-(4*n)+300]
H= [0.6*a]
CA
LCU
LATIO
NS (
T, B
, D
, E
, F,
G, H
)
T= [(a/e)-1]
B= [(a/e)-1]
D= [a/ (e+300)]
E= [0.3*b)+(0.3*d]
F= [1.6*b)+(2*s)-(8*n)+(2*t]
G= [1.3*b)+(2*s)+(t)-(4*n)+300]
H= [0.6*b]
CA
SE
1
STA
RT
CA
LCU
LATIO
NS (
PI, P
2, P3
, P4
)
P1= [(T*E*x)/1000]
P2= [(B*F*x)/1000]
P3= [(B*G*x)/1000]
P4= [(D*H*x)/1000]
OUTPUT
T, B, D, E, F, G, H,
P1, P2, P3, P4
STO
P
Is it
valu
e
D?
Significance of the program
The program is intended to lessen the work load on a civil /geotechnical engineer or any other professional in manually calculating quantities, lengths and even estimating prices of bars he/she might be expected to use in a project.
Thank you