Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
COLLEGE OF ENGINEERING
Cagayan de Oro City
EN44
COMPUTER FUNDAMENTALS AND PROGRAMING
PLATE NO. 01
SOLVING THE AREA OF A RECTANGLE
TITLE
SUBMITTED TO :
ENGR. MARK HEINTJE A. CUANAN
INSTRUCTOR
REMARKS:
1ST SEMESTER SCHOOL YEAR 2019-2020
PROGRAM TITLE: SOLVING THE AREA OF A RECTANGLE
PROGRAM RATIONALE:
This project aim to create a program in Visual Basic which calculate the area of a
rectangle with a specific given measurements. The program will calculate the area of
the rectangle.
To find the area of a rectangle, multiply the length by the width. The formula is:
A = L * W where A is the area, L is the length, W is the width, and * means multiply.
FORMULA DERIVATION
Theorem: The area of a rectangle is the product of its length and width.
Consider the square below with side length x + y units. The square is divided into four
parts: two squares and two rectangles. We already know that the area of the two
squares are x2 and y2. We do not know the area of the rectangle yet because that is
what we are trying to prove.
Now, let A be the area of each rectangle shown above. Clearly, the area of the largest
square is the sum of the areas of the two smaller squares and the two rectangles. In
equation form, we have
X2 + 2xy + y2 = x2 + y2 + 2A.
2xy = 2A.
A = xy.
But x and y are the length and width of the rectangle, therefore, the area of any
rectangle is the product of its length and its width.