diff options
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 |