Well, it depends on the area of the shape you are trying to find, if its: square: length times width triangle: base times height divided by 2 circle: 3.14 times radius squared trapezoid: base 1 plus base 2 times height divided by 2 A U shaped figure is probably half of a circle and a rectangle. The diameter of the circle is the same as the width of the rectangle.
a rectangle
For circle area: pi times radius squared. For circle circumference: 2 times pi times radius, for Square area: take the length of one side (doesn't matter which one because they are all equal) and square the number. For parallelogram area: take the base (bottom) and times it by the height (usually going up the middle.) For triangle area: take half of the base or height and times it by the whole base or height. For trapezoid area: the equation is half ( a side plus b side) times height. for rectangle area: width times height.
It is the lateral area (which is 1/2 the perimeter multiplied by the slant height), plus the area of the base.
The area of any trapezoid is 1/2 times (length of one base plus length of the other base) times (height). You ought to be able to handle it from there.
Area = base * height = 5*(4a + b) m2 = (20a + 5b) m2
Area = Length x width It's the same as the area for a rectangle - base times height. If you think about it, a parallelogram is a rectangle with two triangles on either side - one with its base on top, one with its base on bottom. Through various identities, we know that these two triangles are congruent. So the area is the sum of the small rectangle plus the two triangles, which ends up being base times height.
You have to multiply base x height - in this case, you obtain (4a)(2a+b). This can't be simplified; you can leave it as it is (factored), or multiply it out to obtain 8a2 + 4ab.
#include<iostream> struct shape { virtual double area () const = 0; }; struct triangle : shape { triangle (double b, double h): base (b), height (h) {} double base, height; double area () const override { return base * height / 2; } }; struct circle : shape { circle (double r): radius (r) {} double radius; double area () const override { return 4 * atan(1) * radius * radius; } }; struct rectangle : shape { rectangle (double w, double h): width (w), height (h) {} double width, height; double area () const override { return width * height; } }; int main() { triangle t (10, 5); std::cout << "triangle with base " << t.base << " and height " << t.height << " has area " << t.area() << std::endl; circle c (5); std::cout << "circle with radius " << c.radius << " has area " << c.area() << std::endl; rectangle r (10, 5); std::cout << "rectangle with width " << r.width << " and height " << r.height << " has area " << r.area() << std::endl; }
-1
Well, it depends on the area of the shape you are trying to find, if its: square: length times width triangle: base times height divided by 2 circle: 3.14 times radius squared trapezoid: base 1 plus base 2 times height divided by 2 A U shaped figure is probably half of a circle and a rectangle. The diameter of the circle is the same as the width of the rectangle.
a rectangle
The surface are of a right prism is equal to twice the area of its base plus the perimeter of the base multiplied with the height of the prism. The volume can be determined by multiplying the Area of the base by the height of the prism.
For circle area: pi times radius squared. For circle circumference: 2 times pi times radius, for Square area: take the length of one side (doesn't matter which one because they are all equal) and square the number. For parallelogram area: take the base (bottom) and times it by the height (usually going up the middle.) For triangle area: take half of the base or height and times it by the whole base or height. For trapezoid area: the equation is half ( a side plus b side) times height. for rectangle area: width times height.
If the only information that you have is ... A) the figure is a rectangle, and B) the perimeter ... then you cannot calculate the area. The area of a rectangle is the length multiplied by the height., The perimeter is twice the length plus twice the height. So, a rectangle with a length of 9 units and a height of 1 until will have a perimeter of 20 units and an area of 9 square units. Another rectangle with a length of 6 units and a height of 4 units will also have a perimeter of 20 units, but it will have an area of 24 square units. To be able to calculate the area from the perimeter you need to know one of two additional things - either one of the measurements, or the ratio of the height to the length.
The base area is 15 + (x + 2)/x2.
one half of the perimeter of the base times the slant height plus the area of the base or: 1/2Pl + B