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 /1544/CH5/EX5.29/Ch05Ex29.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 '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
|