«Texnologik jarayonlarni modellashtirish va optimallashtirish asoslari» fanidan kurs ishi bajardi


p6 = float(input("Bosimni kiriting (MPa) P6="))


Download 1.85 Mb.
bet13/15
Sana08.05.2023
Hajmi1.85 Mb.
#1447099
1   ...   7   8   9   10   11   12   13   14   15
Bog'liq
Islom karimov nomidagi toshkent davlat texnika universiteti (1)

p6 = float(input("Bosimni kiriting (MPa) P6="))
p7 = float(input("Bosimni kiriting (MPa) P7="))
k1 = float(input("O'tkazuvchanlik koefitsenti oraligi[0-1] K1="))
k2 = float(input("O'tkazuvchanlik koefitsenti oraligi[0-1] K2="))
k3 = float(input("O'tkazuvchanlik koefitsenti oraligi[0-1] K3="))
k4 = float(input("O'tkazuvchanlik koefitsenti oraligi[0-1] K4="))
k5 = float(input("O'tkazuvchanlik koefitsenti oraligi[0-1] K5="))
k6 = float(input("O'tkazuvchanlik koefitsenti oraligi[0-1] K6="))
k7 = float(input("O'tkazuvchanlik koefitsenti oraligi[0-1] K7="))
k8 = float(input("O'tkazuvchanlik koefitsenti oraligi[0-1] K8="))
po = float(input("Pn ning qiymatini kiriting (MPa) Pn="))
p = float(input("Suyuqlik zichligini kiriting (kg/m3) p="))
H1G = float(input("H1G qiymatini kiriting (m) H1G="))
H2G = float(input("H2G qiymatini kiriting (m) H2G="))
H1 = float(input("H1 ning boshlang'ich qiymatini kiriting (m) H1="))
H2 = float(input("H2 ning boshlang'ich qiymatini kiriting (m) H2="))
S1 = float(input("S1 ning qiymatini kiriting (m.kv) S1="))
S2 = float(input("S2 ning qiymatini kiriting (m.kv) S2="))
T0 = float(input("T0 ning qiymatini kiriting (s) T0=:"))
delT = float(input("delT ning qiymatini kiriting (s) delT=:"))
n = int(input("Qadamlar sonini kititing n="))
g = 9.81


def sign(n, m):
if (n-m)<0:
l = -1
return l
if (n-m) == 0:
l=0
return l
if (n-m)>0:
l = 1
return l
i = 0
# H1 ning vaqt bo'yicha o'zgarish qiymatlari
h1 = []
h1.append(H1)
# H2 ning vaqt bo'yicha o'zgarish qiymatlari
h2 = []

Download 1.85 Mb.

Do'stlaringiz bilan baham:
1   ...   7   8   9   10   11   12   13   14   15




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