Iqtisod fakulteti M. N. M-3 guruh talabasi Jo’rayeva Zilola


Download 349.23 Kb.
Sana02.05.2023
Hajmi349.23 Kb.
#1421438
Bog'liq
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("<y=2*sin(d);
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("<y= 2*tan(x)- pow(b,3);
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="< c=k*exp(x);
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