summaryrefslogtreecommitdiff
path: root/3760/CH1/EX1.1/Ex1_1.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3760/CH1/EX1.1/Ex1_1.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 '3760/CH1/EX1.1/Ex1_1.sce')
-rw-r--r--3760/CH1/EX1.1/Ex1_1.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3760/CH1/EX1.1/Ex1_1.sce b/3760/CH1/EX1.1/Ex1_1.sce
new file mode 100644
index 000000000..e48d24398
--- /dev/null
+++ b/3760/CH1/EX1.1/Ex1_1.sce
@@ -0,0 +1,21 @@
+
+clc;
+f=50; // frequency in Hz
+Et=13; // emf per turn in volts
+E1=2310; // primary voltage in volts
+E2= 220; // secondary voltage in volts
+B=1.4; // maximum flux density in Tesla
+// calculating the number of turns in primary and secondary side
+N2= round(E2/Et); //secondary side turns
+printf('Number of secondary turns is %f\n',N2);
+N1=round(N2*(E1/E2));// primary side turns
+printf('Number of primary turns is %f\n',N1);
+disp('The value of primary turns does not satisfy with the');
+disp('value of secondary turns so taking value of N2=18(next nearest integer)');
+N2=18; // new value of secondary turns
+N1=18*(E1/E2);
+printf('Number of primary turns is %f\n',N1);
+printf('Number of secondary turns is %f\n',N2);
+// calculating net core area
+A=(220/(18*sqrt(2)*%pi*B*50))*10^4; // where N2=18
+printf('Net area of core is %f cm^2',A);