summaryrefslogtreecommitdiff
path: root/2459/CH14/EX14.19/Ex14_19.sce
blob: fe94681db960c271048b40a34ccfb75fb48fc48a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// chapter14
// example14.19
// page 313

L=10d-6 // H
N=1 // turn
Lp=8 // H
Ls=2 // H

// since L is proportional to N^2, L=K*N^2 so making K as subject we get
K=L/N^2

// Lp=K*Np^2 so
Np=(Lp/K)^0.5

// Ls=K*Ns^2 so
Ns=(Ls/K)^0.5

printf("primary turns = %d \n",Np)
printf("secondary turns = %d \n",Ns)