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 /1418/CH25/EX25.1/EX25_1.sce | |
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 '1418/CH25/EX25.1/EX25_1.sce')
-rw-r--r-- | 1418/CH25/EX25.1/EX25_1.sce | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/1418/CH25/EX25.1/EX25_1.sce b/1418/CH25/EX25.1/EX25_1.sce new file mode 100644 index 000000000..9f06c51a3 --- /dev/null +++ b/1418/CH25/EX25.1/EX25_1.sce @@ -0,0 +1,22 @@ +//EXAMPLE 25.1
+//ENERGY STORED IN THE AIR GAP
+
+clc;
+funcprot(0);
+
+//Variable Initialisation
+scod=15;...........//Statot-core outer diameter in Centi Meter
+scid=10.05;........//Stator-core inner diameter in Centi Meter
+rcod=10;............//Rotor-core outer diameter in Centi meter
+rcid=5;...........//Rotor-core inner diameter in Centi Meter
+Al=8;............//Axial length of the machine in Centi Meter
+
+Vsc=(3.14/4)*(scod^2-scid^2)*Al;........//Volume of stator-core in Centi Meter^3
+y=round(Vsc);......................//Rounding of decimmal places
+Vrc=(3.14/4)*(rcod^2-rcid^2)*Al;.........//Volume of rotor-core in Centi Meter^3
+Vag=(3.14/4)*(scid^2-rcod^2)*Al;..........//Volume of air gap in the machine in Centi Meter^3
+y1=round(Vag*10)/10;.......................//Rounding of decimal places
+
+disp(y,"Volume of stator-core in Centi Meter^3:");
+disp(Vrc,"Volume of rotor-core in Centi Meter^3:");
+disp(y1,"Volume of air gap in the machine in Centi Meter^3:");
|