summaryrefslogtreecommitdiff
path: root/2123/CH5/EX5.21/Exa_5_21.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2123/CH5/EX5.21/Exa_5_21.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '2123/CH5/EX5.21/Exa_5_21.sce')
-rwxr-xr-x2123/CH5/EX5.21/Exa_5_21.sce27
1 files changed, 27 insertions, 0 deletions
diff --git a/2123/CH5/EX5.21/Exa_5_21.sce b/2123/CH5/EX5.21/Exa_5_21.sce
new file mode 100755
index 000000000..039f26e01
--- /dev/null
+++ b/2123/CH5/EX5.21/Exa_5_21.sce
@@ -0,0 +1,27 @@
+0//Example No. 5.21
+clc;
+clear;
+close;
+format('v',5);
+
+//Given Data :
+V1=230;//V
+N1=1500;//rpm
+Ra=1;//ohm
+Ia=10;//A
+T=5;//N-m
+//V=K*omega+Ia*Ra
+K=V1/(N1*2*%pi/60+Ia*Ra);//V-s/rad or N-m/A
+Ia=T/K;//A
+alfa1=30;//degree
+V=2*V1*sqrt(2)/%pi*cosd(alfa1);//Volt
+omega=(V-Ia*Ra)/K;//rad/s
+N=omega*60/2/%pi;//rpm
+disp(N,"Parrt(a) Speed in rpm : ");
+alfa=45;//degree
+N=950;//rpm
+V=2*V1*sqrt(2)/%pi*cosd(alfa);//Volt
+Ia=(V-K*2*%pi/60*N)/Ra;//A
+T=K*Ia;//N-m
+disp(T,"Part(b) Torque in N-m : ");
+//Answer is wrong in the book.