summaryrefslogtreecommitdiff
path: root/3813/CH5/EX5.1/Ex5_1.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3813/CH5/EX5.1/Ex5_1.sce
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
Diffstat (limited to '3813/CH5/EX5.1/Ex5_1.sce')
-rw-r--r--3813/CH5/EX5.1/Ex5_1.sce21
1 files changed, 21 insertions, 0 deletions
diff --git a/3813/CH5/EX5.1/Ex5_1.sce b/3813/CH5/EX5.1/Ex5_1.sce
new file mode 100644
index 000000000..b3334cd8a
--- /dev/null
+++ b/3813/CH5/EX5.1/Ex5_1.sce
@@ -0,0 +1,21 @@
+//Electric Drives:concepts and applications by V.subrahmanyam
+//Example:5.1
+clc;
+clear;
+theta1=60;//Temperature rise of motor in degree
+theta2=40;//Temperature rise of motor in degree
+e=0.5;//exponential value
+I1=110;//current in A
+I2=125;//current in A
+t1=4;//Time in hour
+t2=8;//Time in hour
+theta=theta1/theta2;
+tough=-(1/log(0.5));
+thetam1=theta2/e;
+thetam2=thetam1*(I2/I1)^2;
+x=t1/(theta1*tough);
+a=exp(-x);
+y=t2/(theta1*tough);
+b=exp(-y);
+thetam=I2*((1-a)/(1-(a*b)));
+disp(thetam,"The final temperature in deg is:")