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 /1376/CH8 | |
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 '1376/CH8')
-rwxr-xr-x | 1376/CH8/EX8.1/8_1.sci | 13 | ||||
-rwxr-xr-x | 1376/CH8/EX8.2/8_2.sci | 16 |
2 files changed, 29 insertions, 0 deletions
diff --git a/1376/CH8/EX8.1/8_1.sci b/1376/CH8/EX8.1/8_1.sci new file mode 100755 index 000000000..bea2b1563 --- /dev/null +++ b/1376/CH8/EX8.1/8_1.sci @@ -0,0 +1,13 @@ +//8.1
+clc;
+ZL=220/2;
+printf("Load impedance=%.1f ohm",ZL)
+Z_total=220/4;
+printf("\nImpedance of the combination=%.2f ohm",Z_total)
+I1=2;
+I2=2.5;
+I3=4;
+P=(Z_total/2)*(I3^2-I1^2-I2^2);
+printf("\nPower absorbed by load=%.2f W",P)
+pf=P/(220*2^2);
+printf("\npower factor of load=%.2f",pf)
\ No newline at end of file diff --git a/1376/CH8/EX8.2/8_2.sci b/1376/CH8/EX8.2/8_2.sci new file mode 100755 index 000000000..40abd29b7 --- /dev/null +++ b/1376/CH8/EX8.2/8_2.sci @@ -0,0 +1,16 @@ +//8.2
+clc;
+I=125/10;
+ZL=50/I;
+printf("Load impedance=%.1f ohm",ZL)
+Z_total=150/I;
+printf("\nImpedance of the combination=%.2f ohm",Z_total)
+I1=125;
+I2=50;
+I3=150;
+P=(1/(2*10))*(I3^2-I1^2-I2^2);
+printf("\nPower absorbed by load=%.2f W",P)
+Pr=I^2*10;
+printf("\nPower consumed by the resistor=%.2f W",Pr)
+pf=P/(50*I);
+printf("\npower factor of load=%.2f",pf)
\ No newline at end of file |