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 /3802/CH13/EX13.7/Ex13_7.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 '3802/CH13/EX13.7/Ex13_7.sce')
-rw-r--r-- | 3802/CH13/EX13.7/Ex13_7.sce | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/3802/CH13/EX13.7/Ex13_7.sce b/3802/CH13/EX13.7/Ex13_7.sce new file mode 100644 index 000000000..29e07d27e --- /dev/null +++ b/3802/CH13/EX13.7/Ex13_7.sce @@ -0,0 +1,24 @@ +//Book Name:Fundamentals of Electrical Engineering
+//Author:Rajendra Prasad
+//Publisher: PHI Learning Private Limited
+//Edition:Third ,2014
+
+//Ex13_7.sce
+
+clc;
+clear;
+R=10;
+L=0.1;
+t1=0.01;
+omega=100*%pi;
+phi=omega*t1;
+t=(asin(1)+atan((omega*L)/R))/omega;
+Imax=((-omega*L*exp(-R*t/L))/(R^2+(omega*L)^2))-(sin((100*%pi*t)-(atan(omega*L/R)))/sqrt(R^2+(omega*L)^2));
+t=0;
+Iss=((-omega*L*exp(-R*t/L))/(R^2+(omega*L)^2))-(sind((100*%pi*t)-(atan(omega*L/R)))/sqrt(R^2+(omega*L)^2));
+a=Imax/Iss;
+printf("\n Ratio of maximum value of current to steady state value of current=%1.2f \n",a)
+//Answer vary dueto round off error in 't' calculation
+
+
+
|