#include<stdio.h>
main()
{
int radius;
float a1;
float area(int r);
printf("Enter the r value");
scanf("%d",&radius);
a1=area(radius);
printf("The answer=%d",a1);
}
float area(int r)
{
float a2;
a2=3.14*r*r;
return(a2);
}
getch();
To find the area of a circle using the circumference, you need to use the formula Area=Circumference squared divided by four times pi. For this type of equation, pi would be equal to 3.14.
You need to find the radius. Then you calculate using Pi (π) : π*r² = area of the circle. Also this question was answered many times, use the search function before submitting a question.
By using the formula: area of circle = pi*radius2
To find the area of a circle outside a square, first calculate the area of the circle using the formula ( A_{circle} = \pi r^2 ), where ( r ) is the radius of the circle. Next, find the area of the square using ( A_{square} = s^2 ), where ( s ) is the side length of the square. Finally, subtract the area of the square from the area of the circle: ( A_{outside} = A_{circle} - A_{square} ). If the circle is completely outside the square, the area outside is simply the area of the circle.
12.56
3.14
12.56
Area of circle can be computed using formula is A = πr2 , where, A = represented is Area of circle, π = its constant, call it as pie and value is 22/7 i.e 3.142, r = Radius of circle, which has to be squared or doubled to get area of circle.
The radius of a circle and the area of a circle are directly proportionate. This is because the area of a circle is calculated by the formula: Area = pi * radius2. Since we are using the radius to find the area, there is an association between the two.
Because you will be using the number pi to find the area of the circle, some rounding will be required.
OK, SO to find the area of a circle, you find the radius (half of the diameter), and fit it into the equation πr2=A where r equals radius and A = area. The perimeter of a circle is π multiplied by the diameter. π is ≈ 3.1415296.
To find area of a circle using diameter, you use this formuler. Area=pi(diameter/2)(diameter/2)