summaryrefslogtreecommitdiff
path: root/1523/CH4/EX4.82/ex4_82.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /1523/CH4/EX4.82/ex4_82.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 '1523/CH4/EX4.82/ex4_82.sce')
-rwxr-xr-x1523/CH4/EX4.82/ex4_82.sce17
1 files changed, 17 insertions, 0 deletions
diff --git a/1523/CH4/EX4.82/ex4_82.sce b/1523/CH4/EX4.82/ex4_82.sce
new file mode 100755
index 000000000..f72590f7a
--- /dev/null
+++ b/1523/CH4/EX4.82/ex4_82.sce
@@ -0,0 +1,17 @@
+//AC Circuits : example 4.82 :(pg 4.66)
+V=230;
+f0=50;
+I0=2;
+Vco=500;
+R=V/I0;
+Xco=Vco/I0;
+C=(1/(2*%pi*f0*Xco));
+L=(Xco/(2*%pi*f0));
+printf("\nV = 230 V \nf0 = 50 Hz \nI0 = 2A \nVco = 500 V");
+printf("\nR=V/I0 =%.f Ohm",R);
+printf("\nXco=Vco/I0 =%.f Ohm",Xco);
+printf("\nXco=1/2.pi.f0.C \nC= %.e F",C);//capacitance
+printf("\nXco=Xlo \nXlo=%.f Ohm",Xco);//at resonance
+printf("\nXlo=2.pi.f0.L \nL=%.3f H",L);//inductance
+
+