write a program to find area and perimeter of a square(area=a*a, perimeter=4a)
Answers
Answered by
8
Answer:
The formula of perimeter and area of square are explained step-by-step with solved examples.
If 'a' denotes the side of the square, then, length of each side of a square is 'a' units
perimeter and area of square
Perimeter of square = AB + BC + CD + DA
= (a + a + a + a) units
= 4a units
● Perimeter of the square = 4a units
We know that the area of the square is given by
Area = side × side
A = a × a sq. units
Therefore, A = a² square units
Therefore, a² = A Here, a is the side of the square.
Therefore, a² = √A
Therefore, side of the square = √Area
Similar questions