summaryrefslogtreecommitdiff
path: root/3871/CH5/EX5.11/Ex5_11.sce
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3871/CH5/EX5.11/Ex5_11.sce
parentd1e070fe2d77c8e7f6ba4b0c57b1b42e26349059 (diff)
downloadScilab-TBC-Uploads-master.tar.gz
Scilab-TBC-Uploads-master.tar.bz2
Scilab-TBC-Uploads-master.zip
Added new codeHEADmaster
Diffstat (limited to '3871/CH5/EX5.11/Ex5_11.sce')
-rw-r--r--3871/CH5/EX5.11/Ex5_11.sce23
1 files changed, 23 insertions, 0 deletions
diff --git a/3871/CH5/EX5.11/Ex5_11.sce b/3871/CH5/EX5.11/Ex5_11.sce
new file mode 100644
index 000000000..9b47481e0
--- /dev/null
+++ b/3871/CH5/EX5.11/Ex5_11.sce
@@ -0,0 +1,23 @@
+//===========================================================================
+//chapter 5 example 11
+clc;clear all;
+
+//variable declaration
+V = 300; //voltage in V
+R = 12000; //coil resistance in Ω
+B = 6*10^-2; //flux density in Wb/m**2
+l = 0.04; //length in m
+r = 0.03; //width in m
+N = 100;
+Tc = 25*10^-7; //torque in Nm per degree
+
+//calculations
+i = V/(R); //current in A
+Td = N*B*i*l*r; //deflecting Torque in Nm
+//Tc=Td;
+//Tc =(25*10^-7)*theta
+theta = Td/(Tc); //defelction in °
+
+//result
+mprintf('defelction = %3.0f °",theta);
+