summaryrefslogtreecommitdiff
path: root/3871/CH6/EX6.7
diff options
context:
space:
mode:
authorprashantsinalkar2018-02-03 11:01:52 +0530
committerprashantsinalkar2018-02-03 11:01:52 +0530
commit7bc77cb1ed33745c720952c92b3b2747c5cbf2df (patch)
tree449d555969bfd7befe906877abab098c6e63a0e8 /3871/CH6/EX6.7
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/CH6/EX6.7')
-rw-r--r--3871/CH6/EX6.7/Ex6_7.sce24
1 files changed, 24 insertions, 0 deletions
diff --git a/3871/CH6/EX6.7/Ex6_7.sce b/3871/CH6/EX6.7/Ex6_7.sce
new file mode 100644
index 000000000..cc6fa14bb
--- /dev/null
+++ b/3871/CH6/EX6.7/Ex6_7.sce
@@ -0,0 +1,24 @@
+//===========================================================================
+//chapter 6 example 7
+
+clc;clear all;
+
+//variable declaration
+B = 0.5; //flux density of the magnetic field in Wb/m**2
+N = 100; //number of turns in coil
+l = 0.04; //length in m
+r =0.03; //width in m
+Tc = 120*10^-6; //controlling torque in N-m
+v = 1; //volts per division in V
+n = 100; //number of division on full-scale
+Rm = 0;
+
+//calculations
+x =B*N*l*r;
+I = Tc/(x); //current for full-scale deflection in A
+V = n*v; //full-scale reading of instrument in V
+R = (V/(I))-(Rm); //External resistance required to be put in series with the coil in Ω
+
+//result
+mprintf("current for full-scale deflection is %3.3f A",I);
+mprintf("\nExternal resistance required to be put in series with the coil is %3.2f Ω",R);