summaryrefslogtreecommitdiff
path: root/1760/CH2/EX2.41/EX2_41.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1760/CH2/EX2.41/EX2_41.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 '1760/CH2/EX2.41/EX2_41.sce')
-rwxr-xr-x1760/CH2/EX2.41/EX2_41.sce18
1 files changed, 18 insertions, 0 deletions
diff --git a/1760/CH2/EX2.41/EX2_41.sce b/1760/CH2/EX2.41/EX2_41.sce
new file mode 100755
index 000000000..ecfa57d3c
--- /dev/null
+++ b/1760/CH2/EX2.41/EX2_41.sce
@@ -0,0 +1,18 @@
+ //EXAMPLE 2-41 PG NO-90
+F1=50; //frequency
+W=(2*%pi*F1);
+L=1; //inductar
+C=10^-6; //capacitor
+XL1=W*L;
+Xc1=1/(W*C);
+Z1=XL1-Xc1;
+F2=1000;
+XL2=(2*%pi*F2*L);
+Xc2=1/(2*%pi*F2*C);
+Z2=(XL2-Xc2); //impedance
+disp(' IMPEDANCE(Z1) is = '+string(Z1)+' ohm');
+disp(' IMPEDANCE(Z2) is = '+string(Z2)+'ohm');
+disp(' XL1 is = '+string(XL1)+' ohm');
+disp(' Xc1 is = '+string(Xc1)+' ohm');
+disp(' XL2 is = '+string(XL2)+' ohm');
+disp(' Xc2 is = '+string(Xc2)+' ohm');