Nothing Special   »   [go: up one dir, main page]

Group 2 Programming

Download as docx, pdf, or txt
Download as docx, pdf, or txt
You are on page 1of 5

Visayas State University

College of Engineering and Technology


Department of Computer Science & Technology

Area by Offsets from a Straight Line

In partial fulfillment to the subject

ESci 126n - Computer Fundamentals & Programming

by:
Montederamos, Joanna
Cabahit, Loida
Velez, Jackielyn
Porazo, Primitivo Jr.
Pacheco, Junry

Abegail O. Peseral
Instructor
I. Project Title
Area by Offsets from a Straight Line: Trapezoidal rule

II. Description
Offsets are short distances measured perpendicular to a reference or base line. They are
usually at a regular intervals of the curved boundary does not vary significantly.
However, when there are abrupt changes in the boundary, it is advisable that offsets be
taken irregular intervals. The measurement of offsets depends to a great extent on
existing conditions of the terrain. It will be noted that when offsets are taken sufficiently
close together the error of the measurement in area would be small as compared with the
inaccuracies of the measured offsets.
For this purpose from a survey line offsets are taken at regular intervals and area is
calculated from any one of the following methods: (a) Area by Trapezoidal rule (b) Area
by Simpson’s rule. (a) Area by Trapezoidal Rule: In trapezoidal rule, the area is divided
into a number of trapezoids, boundaries being assumed to be straight between pairs of
offsets. The area of each trapezoid is determined and added together to derive the whole
area.

The assumption made in using the trapezoidal rule is that the end of the offsets in the
boundary line are assumed to be connected by straight, thereby forming a series of
trapezoids . When the offsets are taken fairly close together and curves are flat, no
considerable error is introduced by this assumption. In each trapezoid the adjacent offsets
are taken as the bases and the common interval between offsets as the altitude.
III. Problem Statement
Tracts of land are not always bounded by straight lines and it is often necessary to
determine areas that are sometimes bounded by irregular lines or curves. For instance, a
property boundary may be represented by the centerline of a stream or it may be bounded
by a winding road. It would not be feasible for such cases to run a traverse along the
boundary lines. To plot the boundary it is often more practical to establish a base line
conveniently near the irregular or curve boundary and measure offset distances from the
base line to the boundary.

IV. Objectives

V. Software Functionalities
We used the input function in order to get the user’s preferences in what would he/she
likes to compute.
If they choose ‘Y’, the program then asks the user for the common distance between
offsets, the first and last offset and the intermediate offsets of each of the areas. And then
we used the for loop so that the program will add the inputted intermediate offsets and
get inserted to the formula. Same process for the second area as well.

Then, when the above program is done, the first and second area will be added in order to
get the overall area.

If the user chooses ‘N’, only one area is going to be computed.


VI. Significance of the Study

VII. Results and Discussion


References
JP La Putt, “Area by Offsets from a Straight Line," Elementary Surveying, 3 rd Ed., 1987:
480-481.

You might also like