#include <iostream>
#include <cmath>
using namespace std;
int main()
{
double x = 0.1722;
double y = 6.33;
double z = 3.25 * pow(10, -4);
double s = 5 * atan(x) - 1.0 / 4 * acos(x) * ((x + 3 * abs(x - y) + pow(x, 2)) / (abs(x - y) * z + pow(x, 2)));
cout << "s = " << s << endl;
return 0;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
#include <iostream>
#include <cmath>
using namespace std;
int main()
{
double x = 0.1722;
double y = 6.33;
double z = 3.25 * pow(10, -4);
double s = 5 * atan(x) - 1.0 / 4 * acos(x) * ((x + 3 * abs(x - y) + pow(x, 2)) / (abs(x - y) * z + pow(x, 2)));
cout << "s = " << s << endl;
return 0;
}