From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 608/CH41/EX41.12/41_12.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 608/CH41/EX41.12/41_12.sce (limited to '608/CH41/EX41.12/41_12.sce') diff --git a/608/CH41/EX41.12/41_12.sce b/608/CH41/EX41.12/41_12.sce new file mode 100755 index 000000000..b0864b6be --- /dev/null +++ b/608/CH41/EX41.12/41_12.sce @@ -0,0 +1,21 @@ +//Problem 41.12: A symmetrical pi-attenuator pad has a series arm of resistance 1000 ohm and shunt arms each of 500ohm . Determine (a) its characteristic impedance, and (b) the insertion loss (in decibels) when feeding a matched load.. + +//initializing the variables: +R1 = 1000; // in ohm +R2 = 500; // in ohm +I1 = 1; // in amperes (lets say) + +//calculation: +//characteristic impedance of a symmetrical attenuator +R0 = (R1*(R2^2)/(R1 + 2*R2))^0.5 +//current Ix +Ix = (R2/(R2 + R1 + (R2*R0/(R2 + R0))))*I1 +//current I2 +I2 = (R2/(R2 + R0))*Ix +ri = I1/I2; // retio of currents +//insertion loss +il = 20*log10(ri) + +printf("\n\n Result \n\n") +printf("\n characteristic impedance is %.0f ohm",R0) +printf("\n insertion loss is %.2f dB",il) \ No newline at end of file -- cgit