From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 3673/CH5/EX5.a.8/Example_a_5_8.sce | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 3673/CH5/EX5.a.8/Example_a_5_8.sce (limited to '3673/CH5/EX5.a.8') diff --git a/3673/CH5/EX5.a.8/Example_a_5_8.sce b/3673/CH5/EX5.a.8/Example_a_5_8.sce new file mode 100644 index 000000000..dac0f5fbf --- /dev/null +++ b/3673/CH5/EX5.a.8/Example_a_5_8.sce @@ -0,0 +1,25 @@ +//Example_a_5_8 page no:208 +clc; +V=100; +f=50; +R1=10; +C1=100*10^-6; +R2=50; +C2=300*10^-6; +Xc1=1/(2*%pi*R2*C1); +Xc2=1/(2*%pi*R2*C2); +G2=1/R2; +Bc2=1/Xc2; +Y2=sqrt(G2^2+Bc2^2); +Z2=1/Y2; +theta_p=atand(R2/Xc2); +Req=Z2*cosd(theta_p); +Xc_eq=Z2*sind(theta_p); +Rt=R1+Req; +Xct=Xc1+Xc_eq; +Zt=sqrt(Rt^2+Xct^2); +It=V/Zt; +theta=atand(Xct/Rt); +disp(Zt,"the total impedence in the given circuit is (in ohm)"); +disp(It,"the total current in the circuit is (in A)"); +disp(theta,"the phase angle is (in degree)"); -- cgit