Muhammad al-horazmiy nomidagi toshkent axborot texnologiyalari unversiteti
Download 320.92 Kb.
|
1676729774 (2)
MUHAMMAD AL-HORAZMIY NOMIDAGI TOSHKENT AXBOROT TEXNOLOGIYALARI UNVERSITETI KOMPYUTER INJINERINGI FAKULTETINING 1-KURS TALABASINI DASTURLASH FANIDAN BAJARGAN TOPSHIRIG’I. BAJARDI: XOLLIYEV JAMSHID TEKSHIRDI: GULYAMOVA DILFUZA #include #include using namespace std; int main(){ double x,a,b,c,y; cout<<"x=";cin>>x; cout<<"a=";cin>>a; cout<<"b=";cin>>b; cout<<"c=";cin>>c; if(log10(a) y=cbrt(pow(b,2)+sqrt(fabs(x+c))); cout<<"1-shart qanoatlantirildi y="< else{ if(log10(a)>x){ y=sin(x+a-b);} cout<<"3-shart qanoatlantirildi y="< } return main(); } #include using namespace std; int main(){ double x,y,z,d,c; cout<<"d=";cin>>x; cout<<"z=";cin>>z; cout<<"c=";cin>>c; if(z<1){ x=pow(z,2)+1; y=(d*x*exp(pow(sin(x),3))+c*log(x+1))/sqrt(x); cout<<"x1="< cout<<"1- shart qanoatlantirildi ="< else{ if(z>=1){ x=z-1; y=(d*x*exp(pow(sin(x),3))+c*log(x+1))/sqrt(x);} cout<<"x2="< cout<<"2- shart qanoatlantirildi ="< return main(); } #include #include using namespace std; int main(){ double x,y; cout<<"x=";cin>>x; if(x>=0){ y=log(x+sqrt(pow(x,2)+9)); cout<<"1- shart qanoatlantirildi= "< else{ if(x<0) y=pow(tan(x),3); cout<<"2- shart qanoatlantirildi ="< } cout<<"_________________________________________________________________"< return main(); } Download 320.92 Kb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling