Viving Frendiana - Penyelesaian Sistem Transmisi dengan Pemr

15 elif self.ui.satuan_c.currentText() == "F / m": c elif self.ui.satuan_c.currentText() == "mF / m": c = c*10**-3 elif self.ui.satuan_c.currentText() == "µF / m": c = c*10**-6 elif self.ui.satuan_c.currentText() == "nF / m": c = c*10**-9 elif self.ui.satuan_c.currentText() == "pF / m": c = c*10**-12 #mengganti nilai satuan pada f if self.ui.satuan_f.currentText() == "GHz": f = f*10**9 elif self.ui.satuan_f.currentText() == "MHz": f = f*10**6 elif self.ui.satuan_f.currentText() == "kHz": f = f*10**3 elif self.ui.satuan_f.currentText() == "Hz": f elif self.ui.satuan_f.currentText() == "mHz": f = f*10**-3 elif self.ui.satuan_f.currentText() == "µHz": f = f*10**-6 elif self.ui.satuan_f.currentText() == "nHz": f = f*10**-9 elif self.ui.satuan_f.currentText() == "pHz": f = f*10**-12 #operasi perhitungan alfa = ((0.5 * r) * math.sqrt(c/l)) + ((0.5 * g) * math.sqrt(l/c)) alfa = round(alfa, 7) beta = 2*math.pi*f*math.sqrt(c*l)

RkJQdWJsaXNoZXIy MTM3NDc5MQ==