1-misol block sxemasi


Download 0.65 Mb.
Sana31.12.2022
Hajmi0.65 Mb.
#1073793
Bog'liq
aynomuskwjxjsjcbscxs


1-MISOL

Block sxemasi:

boshlash




A=0,B=0,x=-11.2,y=-6.3,e=2.71727374;




A=pow(cos(x*x+2*y),2)+log(fabs(x*x+2*y))/((x*x+2*y)+pow(e,x));
B=sqrt(fabs(((x*x+2*y)*(A+x))/(sin(pow(e,x)))))+pow((x*y),1/4);






A ,B





tugash


Dasturning kod qismi
#include
#include
using namespace std;
int main(){
float A=0,B=0,x=-11.2,y=-6.3,e=2.71727374;

A=pow(cos(x*x+2*y),2)+log(fabs(x*x+2*y))/((x*x+2*y)+pow(e,x));

B=sqrt(fabs(((x*x+2*y)*(A+x))/(sin(pow(e,x)))))+pow((x*y),1/4);

cout<<"A="< cout<<"B="<
return 0;
}
Dastur natijasi:



Block sxema qismi:

boshlash




A=0,B=0,x=-11.2,y=-6.3,e=2.71727374;




X<=0.3




pow(sin(2*x),2)-pow(cos(x),2);

1/(x*x-sqrt(x));





Y





tugash


Dastur kodi:

#include


#include
using namespace std;

long functionss (float x)


{
if (x <=0.3)
return 1/(x*x-sqrt(x));
else
return pow(sin(2*x),2)-pow(cos(x),2);
}

int main ()


{
float number = 3;
cout << number <<" " << functionss(number);
return 0;
}
Dastur natijasi:



Dasturning block qismi

boshlash




A=0,B=0,x=-11.2,y=-6.3,e=2.71727374;




Z<=1
ha



1/sqrt(z-1)

Z*z+1








a*pow(sin(x*x-1),3)+c*log(fabs(x))+pow(2.71,x);





Y






tugash

Dastur kodi:
#include
#include
using namespace std;

long functionss (float x ,float a, float c)


{
return a*pow(sin(x*x-1),3)+c*log(fabs(x))+pow(2.71,x);
}

int main ()


{
int z=2,s;
if (z <=1){
s=z*z+1;
}else{
s=1/sqrt(z-1);
}
cout <<" " << functionss(s,3,4);
return 0;
}
Datur natijasi:

Download 0.65 Mb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling