include math include iostream using namespace std int main int argc ch

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
#include <math>
#include <iostream>
using namespace std;
int main(int argc, char* argv[])
{
float start = 0.4, end = 14.8, h = 0.2;
cout << "x\t\ty" << endl;
for(float x = start; x <= end; x += h) {
cout << x << "\t\t" << (pow(x, 5) * pow(cos(x), 2))/pow(5, x) << endl;
}
system("PAUSE");
return 0;
}