942-21-gurux
TATU UF TOLIBI
ALLANAZAROV DOSTONBEKNING
DASTURLASH FANIDAN
1-LABORATORIYA MASHG’ULOTI
1.radiuslari r1,r2,r3 bo’lgan 3ta doira radiuslar berlgan,doirani yuzini toping
BOSHLASH
S1,S2,S3,R1,R2,R3
S1=M_PI*R1*R1
S2=M_PI*R2*R2
S3=M_PI*R3*R3
TAMOM
S1,S2,S3
2.
2.x,y,x sonlari orasidan kattasini va kichigini topuvchi algoritm tuzing
BOSHLASH
a,b,x,y,z
a=max(x,max(y,z))
b=min(x,min(y,z))
TAMOM
a,b
3.takrorlanuvchi algoritm
I=1;n
tamom
p
p+=pow(-1,i)*pow(x,2*i);
X,n,p=0
boshlash
P=1-x2/1..++..(-1)n*x2*n/n
Do'stlaringiz bilan baham: |