summaryrefslogtreecommitdiff
path: root/2231/CH4/EX4.8
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /2231/CH4/EX4.8
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 '2231/CH4/EX4.8')
-rwxr-xr-x2231/CH4/EX4.8/Ex_4_8.sce19
1 files changed, 19 insertions, 0 deletions
diff --git a/2231/CH4/EX4.8/Ex_4_8.sce b/2231/CH4/EX4.8/Ex_4_8.sce
new file mode 100755
index 000000000..db59fe243
--- /dev/null
+++ b/2231/CH4/EX4.8/Ex_4_8.sce
@@ -0,0 +1,19 @@
+//Example 4_8
+clc;
+clear;close;
+
+//Given data:
+Ra=0.5;//ohm
+L=16/1000;//H
+V=200;//V
+E=100;//V
+Imin=10;//A
+t_off=2/1000;//s
+
+//Solution :
+i=(V-E)/Ra*[1-exp(-Ra*t_off/L)]+Imin*exp(-Ra*t_off/L);//A
+disp(i,"Current at instant of turn off(A)");
+t=5/1000;//s
+i_dash=i*exp(-Ra*t/L);//A
+disp(i_dash,"Current 5 ms after turn off(A)");
+//Answer is wrong in the book.