blob: 67e2193d3734127e3c894f7663897bbe223f5e5a (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
//To Calculate the Number of Turns in the Primary Coil
//Example 39.5
clear;
clc;
E1=220;//Input Voltage to the Transformer in Volts
E2=6;//Output Voltage by the Transformer in Volts
N2=18;//Number of Turns in the Secondary Coil
N1=(E1/E2)*N2;//Number of Turns in the Primary Coil
printf("Number of turns in the primary coil = %.0f",N1);
|