diff options
Diffstat (limited to '1544/CH5/EX5.30/Ch05Ex30.sce')
-rwxr-xr-x | 1544/CH5/EX5.30/Ch05Ex30.sce | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/1544/CH5/EX5.30/Ch05Ex30.sce b/1544/CH5/EX5.30/Ch05Ex30.sce new file mode 100755 index 000000000..b444ecdce --- /dev/null +++ b/1544/CH5/EX5.30/Ch05Ex30.sce @@ -0,0 +1,23 @@ +// Scilab code Ex5.28: Pg 189 (2008)
+clc; clear;
+R_L = 15; // Load resistor, ohms
+V_2 = 240; // Terminal p.d at secondary, V
+V_1 = 600; // Supply voltage, V
+// Part (a)
+// Since V_1/V_2 = N_1/N_2 = k
+k = V_1/V_2; // Turns ratio
+// Part (b)
+I_2 = V_2/R_L; // Current drawn by the load, A
+P_2 = V_2*I_2; // Power drawn by the load, W
+// Part (c)
+I_1 = P_2/V_1 // Current drawn from the supply, A
+printf("\nThe transformer turns ratio = %3.1f:1", k);
+printf("\nThe current drawn by the load = %2d A",I_2);
+printf("\nThe power drawn by the load = %4.2f W", P_2*1e-03);
+printf("\nThe current drawn from the supply = %3.1f A", I_1);
+
+// Result
+// The transformer turns ratio = 2.5:1
+// The current drawn by the load = 16 A
+// The power drawn by the load = 3.48 W
+// The current drawn from the supply = 6.4 A
|