#include <iostream>
#include <cmath>
int main() {
double A, B;
double x = -5.3, y = 2.5;
A = y + x / (x * x + abs((x * x) / (exp(y) + pow(x, 3) / 3)));
B = (1 + cos(A - 2)) / (pow(x, 4) + cbrt(pow(sin(x - y), 2)));
std::cout << A << "\n" << B;
return 0;
}
Copyright © 2024 SCHOLAR.TIPS - All rights reserved.
Answers & Comments
#include <iostream>
#include <cmath>
int main() {
double A, B;
double x = -5.3, y = 2.5;
A = y + x / (x * x + abs((x * x) / (exp(y) + pow(x, 3) / 3)));
B = (1 + cos(A - 2)) / (pow(x, 4) + cbrt(pow(sin(x - y), 2)));
std::cout << A << "\n" << B;
return 0;
}