summaryrefslogtreecommitdiff
path: root/1859/CH7/EX7.22/exa_7_22.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1859/CH7/EX7.22/exa_7_22.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '1859/CH7/EX7.22/exa_7_22.sce')
-rwxr-xr-x1859/CH7/EX7.22/exa_7_22.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/1859/CH7/EX7.22/exa_7_22.sce b/1859/CH7/EX7.22/exa_7_22.sce
new file mode 100755
index 000000000..6ec4be28b
--- /dev/null
+++ b/1859/CH7/EX7.22/exa_7_22.sce
@@ -0,0 +1,20 @@
+// Exa 7.22
+clc;
+clear;
+close;
+// Given data
+R2= 834;// in Ω
+R3= 100;// in Ω
+C2= 0.124;// in µF
+C2= C2*10^-6;// in F
+C4= 0.1;// in µF
+C4= C4*10^-6;// in F
+L1= R2*R3*C4;// in H
+f= 2;// in kHz
+f= f*10^3;// in kHz
+disp(L1*10^3,"The value of L1 in mH is : ")
+R1= R3*C4/C2;// in Ω
+disp(R1,"The value of R1 in Ω is : ")
+Z= R1+%i*2*%pi*f*L1;// in Ω
+disp(abs(Z),"The magnitude of effective impedence in Ω is : ")
+disp(atand(imag(Z),real(Z)),"The angle of effective impedence in ° is : ")