let the length be 'x' and the breadth be 'y'
then area = xy
and perimeter = 2x+2y
Solve the simultaneous linear equations by given area and perimeter.
Regards,
A Pakistani!
#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"); }
Let the length be x: 2*x = perimeter-(2*breadth) Then divide both sides by 2 to find the vallue of x
360
you multiply the length by two then you multiply the width by two and then add the two answers 2l+2w
you need length and width length multiply width = area length + length + width + width = perimeter
2(length+breadth)=Perimetre Length= (Perimetre/2)-Breadth Area=Length x breadth
Perimeter equals to 2 times the length plus 2 times the breadth. Area equals to length multiply by breadth
#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"); }
If the shape is a rectangle (or square), then Perimeter = 2*(Length + Breadth) So Breadth = Perimeter/2 - Length
l = Length W = breadth or width perimeter = 2 x (L+W) = 2L + 2W
Let the length be x: 2*x = perimeter-(2*breadth) Then divide both sides by 2 to find the vallue of x
We use perimeter to measure the length and breadth so that we can easily find out the measurement of a figure
360
Perimeter = 25 + 25 + 22 + 22 = 94
breadth multipied by the length
multiply the length with the breadth.
product of length and breadth