【黑项目源码】【obv密码源码】【股票技术源码】acos指南源码
2024-12-31 04:08:54 来源:{typename type="name"/} 分类:{typename type="name"/}
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;
}