diff options
author | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:38:01 +0530 |
commit | f35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch) | |
tree | eb72842d800ac1233e9d890e020eac5fd41b0b1b /1445/CH8/EX8.30/Ex8_30.sce | |
parent | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff) | |
download | Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2 Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip |
updated the code
Diffstat (limited to '1445/CH8/EX8.30/Ex8_30.sce')
-rw-r--r-- | 1445/CH8/EX8.30/Ex8_30.sce | 13 |
1 files changed, 4 insertions, 9 deletions
diff --git a/1445/CH8/EX8.30/Ex8_30.sce b/1445/CH8/EX8.30/Ex8_30.sce index 782ad08af..caf18e709 100644 --- a/1445/CH8/EX8.30/Ex8_30.sce +++ b/1445/CH8/EX8.30/Ex8_30.sce @@ -1,25 +1,20 @@ //CHAPTER 8- DIRECT CURRENT MACHINES //Example 30 +clc; disp("CHAPTER 8"); disp("EXAMPLE 30"); -//Series DC motor 5 HP with 100 rpm //VARIABLE INITIALIZATION p=5*735.5; //in Watts (1 metric H.P.=735.5 W) -N=1000; //in rpm, given as 100 rpm but solved as 1000 rpm in the text book - //hence taken 1000 rpm +N=1000; //in rpm I=30; //in Amperes I_s=45; //starting current in Amperes //SOLUTION -T=(p*60)/(2*%pi*1000); // Torque -//Torque dir prop phi.Ia -//=> since phi dir prop Ia -//=> torque dir prop Ia^2 -// starting torque T_s / T = Starting current Ia ^2 / I^2 +T=(p*60)/(2*%pi*1000); T_s=(T*(I_s^2))/(I^2); -disp(sprintf("The starting torque is %.0f N-m",T_s)); +disp(sprintf("The starting torque is %f N-m",T_s)); //The answer is slightly different due to precision of floating point numbers |