Toshkent Axborot Texnologiyalari Universitetining ttf fakulteti eet 521-22 guruh talabasi


Download 0.6 Mb.
Sana02.04.2023
Hajmi0.6 Mb.
#1321999

Muhammad al-Xorazmiy
Nomidagi
Toshkent Axborot Texnologiyalari Universitetining
TTF fakulteti EET 521-22 guruh talabasi
Turg’unov Durbekning dasturlash fanidan berilgan topshirig’i.

Javob:
#include
#include
using namespace std;

int main() {


float A=0.6,B=0.5,C=6,y;
y=(pow(A,2)+pow(B,2)+pow(C,2))/(log(A*B*C));
cout<<"y="<return 0;



JAVOB: #include
#include

using namespace std;

int main() {
float g,x,y,z;
g = ( pow(y,x+1) / ( cbrt(y-2) + 3) ) + ( (x+y/2)/(2*fabs(x+y)) )* pow((x+1),(-1/sin(z)));
cout<<"g = "< return 0;



#include


#include
using namespace std;

int main() {


float x;
cout<<"x=";cin>>x;
if(x>0.4){
cout<<"p="<<0.5*(3*pow(x,2)-1)< }
else{
cout<<"p="<<0.5*(5*pow(x,3)-3*x)< }
main();
return 0;

4. #include


#include
using namespace std;

int main() {


float a,R1,R2,S;
cout<<"a=";cin>>a;
R1=a*sqrt(3)/6;
R2=2*R1;
S=a*a*sqrt(3)/4;
cout<<"R1="<cout<<"R2="<cout<<"S="<return 0;

}

#include


#include
using namespace std;

int main() {


float a,R1,R2,S;
cout<<"a=";cin>>a;
R1=a*sqrt(3)/6;
R2=2*R1;
S=a*a*sqrt(3)/4;
cout<<"R1="<cout<<"R2="<cout<<"S="<return 0;

Download 0.6 Mb.

Do'stlaringiz bilan baham:




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