Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include <iostream>
- #include <iomanip>
- #include <math.h>
- using namespace std;
- int main()
- {
- cout << fixed << setprecision(5);
- float x,y,buf,c;
- for (x = 3.0; x<=6.0; x+=0.3)
- {
- for ( y = 5.0; y<=7.2; y+=0.2)
- {
- c = (1.0/3.0);
- buf = exp(c*log(x*x)) + 3*y;
- cout << buf << " | x = "<< x << "; y = " << y << endl;
- }
- }
- system("pause");
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement