CLS
PRINT "PROGRAM: Calculate both perimeter/area of rectangle"
INPUT " Length"; length
INPUT "Breadth"; breadth
PRINT "Perimeter: "; 2 * (length + breadth)
PRINT " Area: "; length * breadth
END
A Qualrilateral is any 4 sided shape which does NOT have a pair of sides which are parallel to each other , and usually has no two sides of the same length. ANSWER:- There is no formula for the area of a quadrilateral, however, the simplest way to calculate it's area , is to draw a diagonal line within the quadrilateral, from any corner, to the opposite corner. You now have 2 Triangles. Measure the Base & Altitude of these triangles, then calculate each area using the Formula:- Area= 1/2 base times altitude. Alternatively you can surround the quadrilateral with a true Rectangle (2 pairs of parallel sides) calculate the area of this surrounding rectangle, then calculate the area of the 4 triangles which lie outside the quadrilateral. Your answer will be, the total of the 4 triangles, subtracted from the area of the surrounding rectangle.
Rem to Find area and rectangle of a rectangle
Input "Length?",l
Input"Breadth?",b
let area=l*b
let perimeter=2*l+b
?area
?perimeter
Well, i have no idea what all the extra letters are for, but there is no perimeter formula, all you do is add the sides up...
The perimeter of a rectangle is the sum of its four sides. Perimeter= 2l+2w
Using while loop, write a program which calculates the product of digits from 1 to 5 and also show these no's vertically.
To find the perimeter of any rectangle or square use 2L + 2W or L + L + W + W
2 x (L + W) or 2L + 2W
2(l+w)
base*height
Remember that the area of a rectangle is width * height: static int getArea(Rectangle r) { return r.width * r.height; }
2. Write a program using switch statement that reads a character representing a geometrical figure, then asks the user to enter the required data (ex. Radius for a circle, length and height for a rectangle, etc. ...) . The program should then print the area and circumference.Figures are: circle(c), square(s), rectangle(r), triangle (t).
By using that one thing.
Write a program that calculates the area of a triangle in QBASIC
{Area s the area of cube} {Length is the length of one side of the cube} program AreaofCube; var Area,Length:real; begin write('Enter the length of cube: '); readln(Length); Area:=6*(Length*Length); writeln('The area of cube is ', Area, ' cm^2.'); end.
#include<stdio.h> void main() { float length, breadth, area, perimeter; printf("Enter the length & breadth of a Rectangle\n(length breadth): "); scanf("%f %f",&length,&breadth); area=length*breadth; perimeter=2*(length+breadth); printf(" Area of the Rectangle=%0.3f\n",area); printf("Perimeter of the Rectangle=%0.3f\n",perimeter); printf("(Press ENTER to exit.)"); getch(); printf("\n"); }
Write two simultaneous equations and solve them. One for the perimeter, one for the area.
This question has no unique answer. A (3 x 2) rectangle has a perimeter = 10, its area = 6 A (4 x 1) rectangle also has a perimeter = 10, but its area = 4 A (4.5 x 0.5) rectangle also has a perimeter = 10, but its area = 2.25. The greatest possible area for a rectangle with perimeter=10 occurs if the rectangle is a square, with all sides = 2.5. Then the area = 6.25. You can keep the same perimeter = 10 and make the area anything you want between zero and 6.25, by picking different lengths and widths, just as long as (length+width)=5.
the area of a rectangleis 100 square inches. The perimeter of the rectangle is 40 inches. A second rectangle has the same area but a different perimeter. Is the secind rectangle a square? Explain why or why not.
No. For example, a 4x1 rectangle will have an area of 4 and a perimeter of 10. A 2x2 rectangle will have the same area of 4, but a perimeter of 8.
The length of a rectangle is twice its width. If the perimeter of the rectangle is , find its area.
The perimeter of the rectangle is the sum of its 4 sides.
find the perimeter and area of a rectangle that is 15cm long and 5cm wide
Let's take a look at this problem.Rectangle Perimeter = 2(l + w)Rectangle Perimeter =? 2(2l + 2w)Rectangle Perimeter =? (2)(2)(l + w)2(Rectangle Perimeter) = 2[2(l + w)]Thus, we can say that the perimeter of a rectangle is doubled when its dimensions are doubled.Rectangle Area = lwRectangle Area =? (2l)(2w)Rectangle Area =? 4lw4(Rectangle Area) = 4lwThus, we can say that the area of a rectangle is quadruplicated when its dimensions are doubled.
the length of a rectangle is 5 more then the width. Find the perimeter and the area of the rectangle
Yes, the perimeter or area of a rectangle can be an irrational number. Thanks
156 It is impossible to calculate the area of a rectangle from its perimeter if no other dimension is known. The area of a rectangle is the product of its length and width, and the perimeter is twice the sum of its length and width.