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 --- 752/CH1/EX1.2.4/1_2_4.sce | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100755 752/CH1/EX1.2.4/1_2_4.sce (limited to '752/CH1/EX1.2.4/1_2_4.sce') diff --git a/752/CH1/EX1.2.4/1_2_4.sce b/752/CH1/EX1.2.4/1_2_4.sce new file mode 100755 index 000000000..50d2069ea --- /dev/null +++ b/752/CH1/EX1.2.4/1_2_4.sce @@ -0,0 +1,15 @@ +clc; +// page no 9 +// prob no 1_2_4 +//As given in fig. 1.2.4 L-attenuator with source resistance Rs=75 ohm and load resistance Rl=50 ohm +Rs=75; Rl=50; +//Determination of R1 +R1=(Rs*(Rs-Rl))^(1/2); +disp('ohm',R1,+'The value of resistance R1 is'); +//Determination of R3 +R3=((Rs^2)-(R1^2))/R1; +disp('ohm',R3,+'The value of resistance R3 is'); +//Determination of insertion loss +IL=(R3*(Rs+R1))/((Rs+R1+R3)*(R3+R1)-(R3)^2) +ILdB=-20*log10(IL);//convertion of power in decibels +disp('dB',ILdB,+'The value of insertion loss is'); \ No newline at end of file -- cgit