MUHAMMAD AL-XORAZMIY NOMIDAGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNIVERSITETI
AKT SOHASIDA IQTISODIYOT VA VAMENEJMENT FAKULTETINING POCHTA ALOQA TEXNOLOGIYALARI YO’NALISHI (001-5) TALBASI MA'MURJONOVA O'G'ILOYNING DASTURLASH FANIDAN YOZGAN KURS ISHI
Bajardi: 141-22-guruh 1-bosqich talabasi
Ma'murjonova O'g'iloy
Tekshirdi: Ishniyozov Odil
TOSHKENT 2022
Varyant – 8
1.Savol:
#include
#include
#include
using namespace std;
int main(){
long double A, B;
double x = 6.3, y = 1.2;
A = fabs(pow(sin(M_PI-x),3)/sqrt(pow((x-y),2)+exp(-x*x)));
B = pow(tan(M_PI/A),3)*log(2*pow(10,3) - pow(cos(x-y),2));
cout << "A=" << A <<"\n";
cout << "B=" << B;
return 0;
}
2.Savol:
#include
#include
using namespace std;
int main(){
float x, z;
cout << "x="; cin >> x;
if(x>3)
z = sqrt(x/(1+x)-sqrt(x));
else
z = pow(log(x)/x,3);
cout << "z=" << z;
return 0;
}
3-Savol:
#include
#include
using namespace std;
int main(){
float x, z, y, a, c;
cout << "z="; cin >> z;
cout << "a="; cin >> a;
cout << "c="; cin >> c;
if(z>=0)
x = 2*z + 1;
else
x = log(z*z - z);
y = pow(sin(x), 2) + a*pow(cos(pow(x, 3)), 5) + c*log(pow(x, 215));
cout << "y=" << y;
return 0;
}
Do'stlaringiz bilan baham: |