# Designing a Website for Pitch and Slope Calculator

13 Pages1388 Words396 Views
|
|
|
RESEARCH METHODS AND PROJECT DESIGN
1
Contents
1 Introduction..............................................................................................................................2
2 Research Questions..................................................................................................................3
3 High level Project Design with Diagram..................................................................................5
3.1 Flow charts.............................................................................................................................5
3.2 Use cases...........................................................................................................................6
4 Block diagram...............................................................................................................................6
5 Project design...........................................................................................................................7
6 Design Approaches...................................................................................................................8
6.1 Algorithms........................................................................................................................8
7 Conclusion..............................................................................................................................11
References......................................................................................................................................12
2
1 Introduction
The main aim of this project is to create a website for pitch and slope calculator. This
webpage is based on calculations. We are creating the upload button, where it is used to
calculator. The pitch calculation is based on the pitch, length and angle. The angle, or
pitch, of a roof is calculated using the number of inches which rises vertically for each of
the 12 inches that it extends horizontally. The slope calculator is referred as the online tool
for finding the slope of a line, when the coordinates of two points on the line are provided.
This Calculator collects the two point’s co-ordinates present on the line (x1, y1) and (x2, y2).
The slope calculation is based on distance and angle. Finally, it saves as the pdf file in the
webpage. We are using frontend and backend process. The frontend is used to interact with
the users and the backend is used for storing the data. So, the data can be stored in the
database.
2 Research Questions
User friendly means it is not difficult to understand and learn. The GUI (Graphical user
interface) is a type of user interface. The graphical method can be easily understood by the
user. The user can interact with the electronics through graphical design. The user cannot
understand the text based method. It also attracts the customer, in the market [1].
Feature of this application:
We can use pointer, pointing device, icons, desktop and menus. It also supports Windows
and Linux.
3
The required programming is C, C++, Java, c#, Python and PHP for calculating the pitch and
slope.
Algorithm for slope calculator:
The given input x1, y1, x2, y2.
The input data type is float. So, the input can be denoted as float x1, float y1, float x2, and float
y2.
If the values are correct, then the return includes (y2-y1)/(x2-x1).
Finally, the slope output displays depending on the input.
Algorithm for the pitch calculator:
Calculate the roof slope, based on the rafters length.
Given inputs include roof span and roof rise.
The formula for roof pitch roof span roof rise/12”
We get the output of the roof pitch.
The roof pitch values are used for calculating the pitch angle. The formula for calculating the
pitch angle roof pitch value/12”.
The slope and pitch calculation is based on the data point. If the given data point is
correct, then there won’t be any error display. If the data point is incorrect, then the error output
will be displayed.
Techniques:
The first technique is GIS. This technique is used for evaluating two slopes. Additionally, two
methods are added such as average neighborhood slope and downhill slope [2].
4

## End of preview

Want to access all the pages? Upload your documents or become a member.

### Support

#### +1 306 205-2269

Chat with our experts. we are online and ready to help.