From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 1544/CH5/EX5.29/Ch05Ex29.sce | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100755 1544/CH5/EX5.29/Ch05Ex29.sce (limited to '1544/CH5/EX5.29/Ch05Ex29.sce') 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 -- cgit