#include <iostream>
#include <cmath>
using namespace std;
int main() {
double result;
// Calculate the numerator
double numerator = pow(5, 2) - exp(3) + sin(30 * M_PI / 180);
// Calculate the denominator
double denominator = pow(2, 10) - 24 + log10(10);
// Calculate the final result
result = numerator / denominator;
// Display the result
cout << "Result: " << result << endl;
return 0;
}
No comments:
Post a Comment