刻有正六边形的圆的面积?
刻在正六边形上的圆有6个点接触正六边形的六个边。
要找到内切圆的面积,我们需要先找到半径。对于正六边形,使用公式a(√3)/2求出半径。
现在内切圆的面积为3πa*a/4
示例
六边形-4
面积=37.68
范例程式码
#include <stdio.h>
int main(void) {
int a = 14;
float pie = 3.14;
float area = (float)(3*a*a*pie/4);
printf("The area of circle inscribed in the hexagon of side %d is %f", a, area);
return 0;
}输出结果
The area of circle inscribed in the hexagon of side 14 is 461.580017
热门推荐
1 祝福语简短古诗词
10 职场离职文案祝福语简短
11 新年祝福语和语句简短
12 英文祝福语简短带名字
13 对离岗同事祝福语简短
14 法考面试祝福语简短
15 佛教生日祝福语简短大全
16 八十大寿简短祝福语
17 新疆新年祝福语大全简短
18 比赛结束花束祝福语简短