summaryrefslogtreecommitdiff
path: root/1523/CH4/EX4.83/ex4_83.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.83/ex4_83.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.83/ex4_83.sce')
-rwxr-xr-x1523/CH4/EX4.83/ex4_83.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/1523/CH4/EX4.83/ex4_83.sce b/1523/CH4/EX4.83/ex4_83.sce
new file mode 100755
index 000000000..31e08a90c
--- /dev/null
+++ b/1523/CH4/EX4.83/ex4_83.sce
@@ -0,0 +1,12 @@
+//AC Circuits : example 4.82 :(pg 4.66)
+R=2;
+L=0.01;
+V=200;
+f0=50;
+C=(1/(4*(%pi)^2*L*(f0^2)));
+I0=V/R;
+Vco=I0*(1/(2*%pi*f0*C));
+printf("\nR= 2 Ohm \nL= 0.01 H \nV=200 V \nf0=50 Hz \nf0=1/(2.pi.sqrt(LC)");
+printf("\nC = %.e F",C);//capacitance
+printf("\nI0= V/R =%.f A",I0);//current
+printf("\nVco=I0.Xco \n=%.2f V",Vco); //voltage across capacitor