Скачиваний:
8
Добавлен:
12.01.2019
Размер:
342 б
Скачать
#include <iostream>
#include <iomanip>
#include <math.h>
using namespace std;
int main()
{   double x,y;
cout.precision(5);
cout << setw(10) << "x=" << "\t" << setw(10) << "y=" << endl;
x = 1;
do {
	y = log(1.5*x) + pow(x, 4);
	cout << setw(10) << x << "\t" << setw(10) << y << endl;
	x += 0.16;
} while (x <= 1.9);
return 0;
}
Соседние файлы в папке лаба2 В14