From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 2252/CH10/EX10.4/Ex10_4.sce | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100755 2252/CH10/EX10.4/Ex10_4.sce (limited to '2252/CH10/EX10.4') diff --git a/2252/CH10/EX10.4/Ex10_4.sce b/2252/CH10/EX10.4/Ex10_4.sce new file mode 100755 index 000000000..6e06fc842 --- /dev/null +++ b/2252/CH10/EX10.4/Ex10_4.sce @@ -0,0 +1,14 @@ + +//calculating deflecting torque +N=50 //no. of turns in coil +B=.12 //flux density in Wb/m^2 +A=5D-4 //area of coil in m^2 +I=15D-3 //current through coil +Td=N*B*A*I +mprintf("Deflecting torque=%fD-6 N-m\n",Td*10^6) +//calculating deflection of pointer +C=18D-7 //constant for spring in N-m per degree +Tc=Td //controlling torque +theta=Tc/C +mprintf("Deflection=%d degrees", theta) + -- cgit