diff options
Diffstat (limited to '1544/CH5/EX5.29/Ch05Ex29.sce')
-rwxr-xr-x | 1544/CH5/EX5.29/Ch05Ex29.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/1544/CH5/EX5.29/Ch05Ex29.sce b/1544/CH5/EX5.29/Ch05Ex29.sce new file mode 100755 index 000000000..56b839718 --- /dev/null +++ b/1544/CH5/EX5.29/Ch05Ex29.sce @@ -0,0 +1,17 @@ +// Scilab code Ex5.29: Pg 189 (2008)
+clc; clear;
+V_2 = 60; // Output voltage, V
+V_1 = 240; // Input voltage, V
+N_2 = 500; // Secondary turns
+// Part (a)
+// For simplicity let V_1/V_2 = N_1/N_2 = k
+k = V_1/V_2 // Turns ratio
+// Part (b)
+// Since V_1/V_2 = N_1/N_2, solving for N_1
+N_1 = k*N_2; // Primary turns
+printf("\nThe required turns ratio = %1d:1", k)
+printf("\nThe number of primary turns = %4d", N_1)
+
+// Result
+// The required turns ratio = 4:1
+// The number of primary turns = 2000
|