diff options
author | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
---|---|---|
committer | prashantsinalkar | 2017-10-10 12:27:19 +0530 |
commit | 7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch) | |
tree | dbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /1445/CH8/EX8.30 | |
parent | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff) | |
download | Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2 Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip |
initial commit / add all books
Diffstat (limited to '1445/CH8/EX8.30')
-rw-r--r-- | 1445/CH8/EX8.30/ch8_ex_30.sce | 20 |
1 files changed, 20 insertions, 0 deletions
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 |