diff options
author | priyanka | 2015-06-24 15:03:17 +0530 |
---|---|---|
committer | priyanka | 2015-06-24 15:03:17 +0530 |
commit | b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch) | |
tree | ab291cffc65280e58ac82470ba63fbcca7805165 /1892/CH3/EX3.1/Example3_1.sce | |
download | Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2 Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip |
initial commit / add all books
Diffstat (limited to '1892/CH3/EX3.1/Example3_1.sce')
-rwxr-xr-x | 1892/CH3/EX3.1/Example3_1.sce | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/1892/CH3/EX3.1/Example3_1.sce b/1892/CH3/EX3.1/Example3_1.sce new file mode 100755 index 000000000..911ba76a7 --- /dev/null +++ b/1892/CH3/EX3.1/Example3_1.sce @@ -0,0 +1,16 @@ +// Example 3.1
+
+clear; clc; close;
+
+format('v',8);
+// Given data
+Lm=30;//in mH
+Iph=3;//in Ampere
+Rm=15;//in Ohm
+
+//Calculations
+tau_ed=Lm/Rm;//in ms
+tdash=1/2*tau_ed;//in ms
+disp(tdash,"(i) Time taken by the phase current to decay to zero in ms : ");
+Energy=1/4*Lm*Iph^2;//in mW
+disp(Energy,"(ii) Energy returned to supply in mW : ");
|