Bajardi: 010-1 guruh talabasi Xamzayev Abbos Tekshirdi: Abdurahmonov Abbos Abdusattarovich


Download 0.74 Mb.
Sana31.03.2023
Hajmi0.74 Mb.
#1313227
Bog'liq
abbosxon


Muhammad al-Xorazmiy nomidagi
Toshkent axborot texnologiyalari universiteti telekommunikatsiya texnologiyalari fakulteti
Dasturlash fanidan
1-mustaqil amaliy ishi

Bajardi:010-1 guruh talabasi Xamzayev Abbos


Tekshirdi:Abdurahmonov Abbos Abdusattarovich

TOSHKENT 2022



1-amaliy topshiriqlar

15-variant







A=0.3, B=2.8, C=-4.5, D=1.35

#include


#include
using namespace std;

int main()


{
float A,B,C,D,Y;
cout<<"A = ";cin>>A;
cout<<"B = ";cin>>B;
cout<<"C = ";cin>>C;
cout<<"D = ";cin>>D;
Y = A*pow(D,3)/3+B*pow(C,2)/2;
cout<<"Y = "<return 0;


}



2-jadval

15



x=2.444,
y=0.869
z=-0.13
-0.49871


#include
#include
using namespace std;
int main ()
{float x,y,z,h,e=2.7345;
cout<<"x="; cin>>x;
cout<<"y="; cin>>y;
cout<<"z="; cin>>z;
h=(pow(x,y+1)+pow(e,y-1))/(1+fabs(y-tan(z)))*(1+fabs(y-x))+pow((x+y),2)-pow((fabs(y-x)),3)/3;
cout<<"h="<
return 0;
}



3-jadval



Asoslari a va b (a>b), katta asosdagi burchagi bo‘lgan teng yonli trapetsiyaning perimetri hamda yuzasi topilsin (burchak radianda beriladi).

#include


#include
using namespace std;
int main ()
{
float a,b,S,P,alfa;
cout<<"a="; cin>>a;
cout<<"b="; cin>>b;
cout<<"alfa"; cin>>alfa;
S=(pow(a,2)-pow(b,2))/4*tan(alfa);
P=a+b+(a-b)*cos(alfa);
cout<<"S="<return 0;
}

Download 0.74 Mb.

Do'stlaringiz bilan baham:




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