#include <iostream>
#include <cmath>
using namespace std;
long double f(double x) {
return cos(x) / pow(x, 2) + 7 * pow(sin(x), 2) - 5;
}
int main() {
double a, b, h;
cin >> a >> b >> h;
for (double i = a; i <= b; i += h)
cout << "f(" << i << ") = " << f(i) << '\n';
#include <iostream>
#include <cmath>
using namespace std;
long double f(double x) {
return cos(x) / pow(x, 2) + 7 * pow(sin(x), 2) - 5;
}
int main() {
double a, b, h;
cin >> a >> b >> h;
for (double i = a; i <= b; i += h)
cout << "f(" << i << ") = " << f(i) << '\n';
}