summaryrefslogtreecommitdiff
path: root/1445/CH8/EX8.30/ch8_ex_30.sce
blob: 3c80b3dd733cf97a725c591cf4fe0418ae29b8e7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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