Follows are the python code to this question:
import math as m #import package
n=int(input('Enter the number of sides:'))#defining n variable for input number of side
s= float(input('Enter the side: '))#defining s variable for input side value
area = (s*s *n)/(4 * (m.tan(m.pi/n)))#defining formula for calcaulting area
print (area)#print area
Output:
please find the attached file.
Step-by-step explanation:
In the above code, firstly, we import the math package as m, and after that, two-variable "n and s" is defined, which uses for input integer and float value from the user end.
In the next step, we use the area formula that is already in the question.In this formula, we modify some value and put the user input into the area formula, and print its value.Follows are the python code to this question:
import math as m #import package
n=int(input('Enter the number of sides:'))#defining n variable for input number of side
s= float(input('Enter the side: '))#defining s variable for input side value
area = (s*s *n)/(4 * (m.tan(m.pi/n)))#defining formula for calcaulting area
print (area)#print area
Output:
please find the attached file.
Step-by-step explanation:
In the above code, firstly, we import the math package as m, and after that, two-variable "n and s" is defined, which uses for input integer and float value from the user end.
In the next step, we use the area formula that is already in the question.In this formula, we modify some value and put the user input into the area formula, and print its value.Answer: 59 in^2.
Explanation:
We know that, the area of the polygon is equal to the area of rectangle plus the area of two triangles.
Find the area of rectangle:
A=LW,
we have:
L=7in;
W=4in;
A1=7*4=28 in^2.
Find the area of triangle with height of 6 in:
A=1/2bh,
we have:
b=7in;
h=6in;
A2=1/2*7*6=21 in^2.
Find the area of triangle with height of 5 in:
A=1/2bh,
we have:
b=4in;
h=5in;
A3=1/2*4*5=10 in^2.
The total area of the polygon is:
A=A1+A2+A3=28+21+10=59 in^2.
c is the correct answer<3
Step-by-step explanation:
59 in2
Step-by-step explanation:
Area of the rectangle is A=LxW
A= 7 x 4
A-28 in2
Area of the triangle is A= 1/2 bh
Area of the top triangle is A= 1/2 (6)(7)
A= 21 in2
Area of the side triangle is A= 1/2 (5)(4)
A= 10in2
Add up all of the areas to find the total area of the figure
28+21+10= 59 in2
B 59 in.^2
Step-by-step explanation:
The polygon is made up of three different polygons. Calculate each area, and add them.
1) rectangle 4 in. by 7 in.
2) triangle with 7 in. base and 6 in. height
3) triangle with 4 in. base and 5 in. height
area of rectangle = length * width
area of triangle = base * height / 2
total area =
= 4 in. * 7 in. + 7 in. * 6 in./2 + 4 in. * 5 in./2
= 28 in.^2 + 21 in.^2 + 10 in.^2
= 59 in.^2
Step-by-step explanation:
The area of a rectangle is length times width.
We divide the polygon into 4 rectangles:
The area of the first rectangle is :
The area of the second rectangle is
The area of the 3rd rectangle is
The area of the fourth rectangle is
Putting all together, the area of the polygon is;
0.16+1.44+1.6+0.4=3.6m²
It will provide an instant answer!