Project
Project
Project:
To create a program for finding the quantity of
ingredients of making concrete for the slab.
In this project we will make a GUI Program that will calculate the quantity of
materials needed to make concrete for construction slab.
Python is one of the most popular programming language often used to build
websites and software, automate tasks, and conduct data analysis.
Before coming towards the program, let us discuss the basic theory regarding
the concrete required for the roof slab.
Cement, Sand and Aggregates are the basic materials for making the concrete.
It is an easy task for calculating the quantities of these materials in construction
slab.
We will learn this calculation through an example:
Consider a rectangular slab of given dimensions:
Length=30ft
Width=30ft
Thickness=6inch
Now in the first step we will
find the volume of slab as
Volume = L x W x H
=30 x 30 x 0.5
=450 Cubic ft.
Now to find dry volume of slab,
Dry Volume = 450 x 1.54
=693 Cubic ft.
Now let us consider the ratio of materials used as:
1:2:4
Cement : Sand : Aggregate
Total Ratio of each of these materials will be 7
To find the volume of cement:
By putting values:
= 2 x 693 = 198 Cubic ft.
7
To find volume of Aggregates
By putting values:
= 4 x 693
7
= 396 Cubic ft.
Therefore we have the details of quantity of materials used
in concrete:
Now here we use a keyword, ‘class’. This keyword is used to provide the means
of bundling data together. Now as our project is based on Quantity of materials so
‘Quantityofmaterials’ will be our heading towards the class.
Now various functions will be defined under the class.
As you can see that the method ‘_init_’ is used here, it lets the class initialize
the objects attribute.
And by using ‘self’ we can access different attributes of object in python. And
project is the main object which is mainly used throughout the program.
Now the widgets are created according to the needs of program. The labels are
made in program with specific place and fonts. A
As you can see our GUI face is created. Now we
need to create function so that by putting values
we get the result.
Therefore with the help of Python, a program is made that will give you
accurate results faster.
The use of this innovative language is increasing day by day and procedure for
its proper performance are well developed and better quality work is regularly
obtained.
Thank You!
Any Questions?