1.acosԴ?源码宝塔系统下载源码?༭
acosԴ??༭
我把源代码也放出来:#include<iostream>
#include<cmath>
#include<cstdio>
#define PI acos(-1)
using namespace std;
int main()
{
double a1 = 4;
double a2 = 2;
double x = 0;
double y = 0;
x = (pow(a1, 2) - pow(a1, 2) * PI / 4 + pow(a1, 2) * PI / 4 / 3 - a1 - 2 * (sqrt(pow(a1, 2) - pow(a2, 2)) - 2)) / 2;
y = pow(a2, 2) - pow(a2, 2) * PI / 4 - x;
double s = fabs(x - y);
printf("%.4lf\n", s);
return 0;
}
2024-11-30 09:25
2024-11-30 09:07
2024-11-30 07:58
2024-11-30 07:49
2024-11-30 07:13
2024-11-30 07:01