Viving Frendiana - Penyelesaian Sistem Transmisi dengan Pemr

175 #RUMUS yInBCFE def yInBCFE(): print('========== yInBCFE Start =============') z0 = float(enter1.get()) zL = float(enter2.get()) jZL = float(enter3.get()) jZ0 = float(enter4.get()) bd1 = float(enter5.get()) yInBCFE = (z0 + (jZL * math.tan(bd1))) / (zL + (jZ0 * math.tan(bd1))) yInBCFE = 1 / z0 * yInBCFE label6.config(text = 'Nilai yInBCFE = ' + str(yInBCFE)) print('Hasil dari yInBCFE adalah {}'.format(yInBCFE)) print('=========== yInBCFE End ============\n') #RUMUS yInACFD def yInACFD(): print('========== yInACFD Start =============') z0 = float(enter1.get()) zin1 = float(enter7.get()) jZin1 = float(enter8.get()) jZ0 = float(enter4.get()) bd2 = float(enter9.get()) yInACFD = (z0 + (jZin1 * math.tan(bd2))) / (zin1 + (jZ0 * math.tan(bd2))) yInACFD = 1 / z0 * yInACFD label10.config(text = 'Nilai yInACFD = ' + str(yInACFD)) print('Hasil dari yInACFD adalah {}'.format(yInACFD)) print('=========== yInACFD End ============\n') #Window GUI root = Tk()

RkJQdWJsaXNoZXIy MTM3NDc5MQ==