Iqtisod fakulteti M. N. M-3 guruh talabasi Jo’rayeva Zilola
Download 349.23 Kb.
|
Zilola 1t
Iqtisod fakulteti M.N.M-3 guruh talabasi Jo’rayeva Zilola (1-topshiriq,9-v.) 1-misol #include #include using namespace std; int main(){ double d,y; cout<<"Qiymatlarni kiriting"<<"\n"<<"y= 2 sin(d)"<<"\n"; cout<<"d="; cin>>d; cout<<"y="<<"2 sin("< cout<<"y="< 2-misol #include #include using namespace std; int main(){ double b,m,x=5,y; cout<<"Qiymatlarni kiriting:"<<"\n"<<"y= 2 tg(x)-b^3"<<"\n"<<"b= mx"<<"\n"<<"x=5"<<"\n"; cout<<"m="; cin>>m; b=m*x; cout<<"b=mx"<<"\n"<<"b="<cout<<"y="<<"2 tg("< cout<<"y="< 3-misol #include #include using namespace std; int main(){ double b,x,y,a; cout<<"x ni qiymatini kiriting:"<<"\n"; cout<<"x="; cin>>x; if(x>10){ cout<<"y=ax^2 - 4x"<<"\n"; cout<<"a="<<"\n"; cin>>a; y=a*x*x -4*x; cout<<"y="< } else if(x>4 && x<=10){ cout<<"y=b x^3"<<"\n"; cout<<"b="<<"\n"; cin>>b; y=b*pow(x,3); cout<<"y="< } else if(x<=4){ cout<<"y= -x^2 - 4x"<<"\n"; y=-pow(x,2) - 4*x; cout<<"y="< } 4-misol #include #include using namespace std; int main(){ double c,k=3.2,x,y, e=exp(1); cout<<"x ni qiymatini kiriting:"<<"\n"; cout<<"x="; cin>>x; if(x>-1 && x<=1){ cout<<"y=arccos(x)"<<"\n"; y= acos(x); cout<<"y="< } else if(x<=-1){ cout<<"y=c x^3"<<"\n"; cout<<"c=k*e^x"<<"\n"; cout<<"k=3.2"<<"\n"; cout<<"c="< y=c*pow(x,3); cout<<"y="< } else if(x>=1){ cout<<"y=lg(x)"<<"\n"; y=log10(x); cout<<"y="< } Download 349.23 Kb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling