Bajardi: 413- 20 guruh talabasi Hakimova H. Qabul qildi: Baxramova Y.
1-LABORATORIYA MASHG’ULOTI
DASTURLASH 1 fanidan
“TELEKOMMUNIKATSIYA TEXNOLOGIYALARI (TELEKOMMUNIKATSIYALAR)” FOKULTETI
Labotatoriya mashg’uloti 1
1-mashq
#include
#include
#include
using namespace std;
int main(){
float Y, A=4, B=13.6;
Y=log(sqrt(B)+tan(A));
cout<<” Y= “<
return 0;
}
Natija: Y= 1.57808
2-mashq
|
x=3.74 ,
y=-0.825,
z=0.16 ,
v=1.0553
|
#include
#include
#include
using namespace std;
int main(){
float V, x=3.74*pow(10,-2), y=-0.825, z=16;
V=(1+pow(sin(x+y),2))/(x-2/x*x*y)*pow(x,fabs(y))+pow(cos(atan(1/z)),2);
cout<<”V=”<
return 0;
}
Natija: V=1.05528
Do'stlaringiz bilan baham: |