Bajardi: 010-1 guruh talabasi Xamzayev Abbos Tekshirdi: Abdurahmonov Abbos Abdusattarovich
Download 0.74 Mb.
|
abbosxon
Muhammad al-Xorazmiy nomidagi Toshkent axborot texnologiyalari universiteti telekommunikatsiya texnologiyalari fakulteti Dasturlash fanidan 1-mustaqil amaliy ishi Bajardi:010-1 guruh talabasi Xamzayev AbbosTekshirdi:Abdurahmonov Abbos AbdusattarovichTOSHKENT 2022 1-amaliy topshiriqlar 15-variant
#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 = "< } 2-jadval
#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
#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="< } Download 0.74 Mb. Do'stlaringiz bilan baham: |
Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling
ma'muriyatiga murojaat qiling