summaryrefslogtreecommitdiff
path: root/2459/CH14/EX14.19/Ex14_19.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /2459/CH14/EX14.19/Ex14_19.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '2459/CH14/EX14.19/Ex14_19.sce')
-rw-r--r--2459/CH14/EX14.19/Ex14_19.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/2459/CH14/EX14.19/Ex14_19.sce b/2459/CH14/EX14.19/Ex14_19.sce
new file mode 100644
index 000000000..fe94681db
--- /dev/null
+++ b/2459/CH14/EX14.19/Ex14_19.sce
@@ -0,0 +1,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)