Mnatsovna
?>

Построить точечную диаграмму в Exel таблице Необходимо построить график функции f(x)=7x3+2x2-x+15 на отрезке [-2;2]. Шаг изменения х=0, 5 Точечная диаграмма используется для построения графика функций

Информатика

Ответы

bar02

#include <iostream> // header input/output streams

#include <fstream> // header для работы с файлами

using std::ifstream; // для работы с файлом input.txt

using std::ofstream; // для работы с файлом output.txt

using std::cin; // для работы cin

using std::cout; // для работы cout

using std::endl; // для работы перевода на новую строку endl

int main(){

ifstream in_file;

  ofstream out_file;

   try{

     in_file.open("input.txt");

     out_file.open("output.txt");

   }

  catch(std::exception& e){

     cout << e.what() << endl;

   }

  unsigned int a,b;

  in_file >> a >> b;

  unsigned int sum = a+b -1;

cout << sum;

  out_file << sum - a << ' ' << sum-b << endl;

}

Денис1619

#include <iostream> // header input/output streams

#include <fstream> // header для работы с файлами

using std::ifstream; // для работы с файлом input.txt

using std::ofstream; // для работы с файлом output.txt

using std::cin; // для работы cin

using std::cout; // для работы cout

using std::endl; // для работы перевода на новую строку endl

int main(){

ifstream in_file;  // input.txt

  ofstream out_file;  //output.txt

   try{

     in_file.open("input.txt");

     out_file.open("output.txt");

   }

  catch(std::exception& e){

     cout << e.what() << endl;

   }

  unsigned int a,b;

  in_file >> a >> b;

  unsigned int sum = a+b -1;

cout << sum;

  out_file << sum - a << ' ' << sum-b << endl;

}

Ответить на вопрос

Поделитесь своими знаниями, ответьте на вопрос:

Построить точечную диаграмму в Exel таблице Необходимо построить график функции f(x)=7x3+2x2-x+15 на отрезке [-2;2]. Шаг изменения х=0, 5 Точечная диаграмма используется для построения графика функций
Ваше имя (никнейм)*
Email*
Комментарий*

Популярные вопросы в разделе

vovababkin1477
garunkhachatryan
ccc712835
osirparts7854
Александровна-Павловна
Varagyan1728
staskamolbio5152
yana2211
artmasterstyle
Ивлев1508
Vkois56
artmasterstyle
Aleksandr-Andrei
Д.О. Игорь
marinamarinyuk39
▲