summaryrefslogtreecommitdiff
path: root/3745/CH1/EX1.44/Ex1_44.sce
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3745/CH1/EX1.44/Ex1_44.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 '3745/CH1/EX1.44/Ex1_44.sce')
-rw-r--r--3745/CH1/EX1.44/Ex1_44.sce22
1 files changed, 22 insertions, 0 deletions
diff --git a/3745/CH1/EX1.44/Ex1_44.sce b/3745/CH1/EX1.44/Ex1_44.sce
new file mode 100644
index 000000000..992d91806
--- /dev/null
+++ b/3745/CH1/EX1.44/Ex1_44.sce
@@ -0,0 +1,22 @@
+// Ex 44 Page 388
+
+clc;clear;close;
+// Given
+zo=1+%i*1;//ohm
+zi=0.2+%i*4;//ohm
+Ri=real(zi) ;//ohm
+Ro=real(zo) ;//ohm
+
+//at standstill
+s=1;//% at standstill
+Zo=sqrt(real(zo)**2+imag(zo)**2);//ohm
+Zi=sqrt(real(zi)**2+imag(zi)**2);//ohm
+ToBYTi=Ro/Ri*(Zi/Zo)**2;//torque ratio
+printf("(a) at standstill, To:Ti = %d:1",ToBYTi)
+
+//at s=0.5
+s=0.05;//%
+Zo=sqrt(real(zo)**2/s**2+imag(zo)**2);//ohm
+Zi=sqrt(real(zi)**2/s**2+imag(zi)**2);//ohm
+ToBYTi=Ro/Ri*(Zi/Zo)**2;//torque ratio
+printf("\n (b) at s=0.05, To:Ti = %.1f:1",ToBYTi)