Viving Frendiana - Penyelesaian Sistem Transmisi dengan Pemr

160 sudut2 = apa.nextDouble(); System.out.print("Masukan Bilangan Imajiner = j"); imajiner = apa.nextDouble(); teta1 = sudut1 - sudut2; dstub1 = (teta1/(360*2)); tan1 = java.lang.Math.atan(1/imajiner); arc1 = Math.toDegrees(Math.atan(Math.tan(tan1))); lstub1 = arc1/360; teta2 = sudut1 + sudut2; dstub2 = (teta2/(360*2)); tan2 = java.lang.Math.atan(-1/imajiner); arc2 = Math.toDegrees(Math.atan(Math.tan(tan2))); lstub2 = (arc2 + 360)/360; System.out.println("Jawab:"); System.out.println("Teta1 = " + sudut1 + " - " + sudut2 + " = " + teta1 + " derajat"); System.out.println("Dstub1 = " + dstub1 + " lamda meter"); System.out.println("Lstub1 = " + lstub1 + " lamda meter\n"); System.out.println("Teta2 = " + sudut1 + " + " + sudut2 + " = " + teta2 + " derajat"); System.out.println("Dstub2 = " + dstub2 + " lamda meter"); System.out.println("Lstub2 = " + lstub2 + " lamda meter"); } }

RkJQdWJsaXNoZXIy MTM3NDc5MQ==