From 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 Mon Sep 17 00:00:00 2001 From: prashantsinalkar Date: Tue, 10 Oct 2017 12:27:19 +0530 Subject: initial commit / add all books --- 1445/CH8/EX8.30/ch8_ex_30.sce | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 1445/CH8/EX8.30/ch8_ex_30.sce (limited to '1445/CH8/EX8.30') diff --git a/1445/CH8/EX8.30/ch8_ex_30.sce b/1445/CH8/EX8.30/ch8_ex_30.sce new file mode 100644 index 000000000..3c80b3dd7 --- /dev/null +++ b/1445/CH8/EX8.30/ch8_ex_30.sce @@ -0,0 +1,20 @@ +//CHAPTER 8- DIRECT CURRENT MACHINES +//Example 30 + +disp("CHAPTER 8"); +disp("EXAMPLE 30"); + +//VARIABLE INITIALIZATION +p=5*735.5; //in Watts (1 metric H.P.=735.5 W) +N=1000; //in rpm +I=30; //in Amperes +I_s=45; //starting current in Amperes + +//SOLUTION +T=(p*60)/(2*%pi*1000); +T_s=(T*(I_s^2))/(I^2); +disp(sprintf("The starting torque is %f N-m",T_s)); + +//The answer is slightly different due to precision of floating point numbers + +//END -- cgit