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 --- 2360/CH6/EX6.24/ex6_24.sce | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100755 2360/CH6/EX6.24/ex6_24.sce (limited to '2360/CH6/EX6.24/ex6_24.sce') diff --git a/2360/CH6/EX6.24/ex6_24.sce b/2360/CH6/EX6.24/ex6_24.sce new file mode 100755 index 000000000..56c6a79ab --- /dev/null +++ b/2360/CH6/EX6.24/ex6_24.sce @@ -0,0 +1,25 @@ +// Exa 6.24 +format('v',7);clc;clear;close; +// Given data +R2 = 842;//resistance in ohm +C2 = 0.135;//capacitance in µF +C2 = C2 * 10^-6;// in F +f=1000;//frequency in Hz +XC2= 1/(2*%pi*f*C2); +R3= 10;//resistance in ohm +C4= 1*10^-6;//capacitance in F +XC4= 1/(2*%pi*f*C4); +Z2= R2-%i*XC2;//impedance in ohm +Z3= R3;//impedance in ohm +Z4= -%i*XC4;//impedance in ohm +// From balance equation +Z1= Z2*Z3/Z4;// in Ω +R1= real(Z1);// in Ω +XL1= abs(imag(Z1));// in Ω +L1= XL1/(2*%pi*f);// in F +L1= L1*10^3;// in mH +disp(R1,"The value of R1 in Ω is : ") +disp(L1,"The value of L1 in mH is : ") + + + -- cgit