Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // problem10.cpp: определяет точку входа для консольного приложения.
- //
- #include "stdafx.h"
- #include <iostream>
- #include "math.h"
- using namespace std;
- int _tmain(int argc, _TCHAR* argv[])
- {
- locale::global(locale(""));
- float x, y, y1, y2, y3;
- cout<<"Задание 1"<<'\n';
- wcout<<'\n';
- cout<<"y0=x+1"<<'\t'<<'\t'<<'\t';
- wcout<<"y1=cos7x+sqrt2x"<<'\t'<<'\n';
- wcout<<'\n';
- wcout<<"y2=sin8x+5|x^7|"<<'\t'<<'\t';
- wcout<<"y3=arctg^3(sqrtX-3x^3)"<<'\t'<<'\n';
- wcout<<'\n';
- wcout<<'\t';
- cout<<"Введите икс";
- cout<<"=";
- cin>>x;
- cout<<'\n';
- y=x+1;
- cout<<'\t';
- cout<<"y0=";
- cout<<y<<'\n';
- cout<<'\n';
- y1=cos(7*x)+sqrt(2*x);
- cout<<'\t';
- cout<<"y1= ";
- cout<<y1<<'\n';
- cout<<'\n';
- y2=sin(8*x)+5*abs(pow(x,7));
- cout<<'\t';
- cout<<"y2= ";
- cout<<y2<<'\n';
- cout<<'\n';
- y3=pow(atan(sqrt(x)-3*pow(x,3)),3);
- cout<<'\t';
- cout<<"y3= ";
- cout<<y3<<'\n';
- cout<<'\n';
- cin>>x;
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement