#include <iostream>
#include <cmath>
using namespace std;
int main() {
int y, a=2, b=5, h=0.18, x;
for (int x = a; x <= b; x++) {
y = sin(x) / (5 * x) + pow(x, 3) - 2;
cout << "X=" << x << " || Y=" << y << "\n";
}
return 0;
#include <iostream>
#include <cmath>
using namespace std;
int main() {
int y, a=2, b=5, h=0.18, x;
for (int x = a; x <= b; x++) {
y = sin(x) / (5 * x) + pow(x, 3) - 2;
cout << "X=" << x << " || Y=" << y << "\n";
}
return 0;
}