diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1523/CH4/EX4.54/ex4_54.sce | |
download | Scilab-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.54/ex4_54.sce')
-rwxr-xr-x | 1523/CH4/EX4.54/ex4_54.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/1523/CH4/EX4.54/ex4_54.sce b/1523/CH4/EX4.54/ex4_54.sce new file mode 100755 index 000000000..fe403ab95 --- /dev/null +++ b/1523/CH4/EX4.54/ex4_54.sce @@ -0,0 +1,14 @@ +//AC Circuits : example 4.54 :(pg 4.42)
+V=125;
+I=2.2;
+P=96.8;
+f=50;
+Z=V/I;
+R=(P/(I^2));
+Xc=sqrt((Z^2)-(R^2));
+C=(1/(2*%pi*f*Xc));
+printf("\nV=125 V \nP=96.8 W \nI=2.2 A \nf=50 Hz");
+printf("\nZ=V/I=%.2f A",Z);
+printf("\nP=(I^2)*R \nR=%.f Ohm",R);
+printf("\nXc=sqrt((Z^2)-(R^2))=%.2f Ohm",Xc);
+printf("\nXc=1/(2*pi*f*C) \n C=%.2e F",C);
\ No newline at end of file |