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 /2231/CH1/EX1.8 | |
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 '2231/CH1/EX1.8')
-rwxr-xr-x | 2231/CH1/EX1.8/Ex_1_8.sce | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/2231/CH1/EX1.8/Ex_1_8.sce b/2231/CH1/EX1.8/Ex_1_8.sce new file mode 100755 index 000000000..a9180dcbd --- /dev/null +++ b/2231/CH1/EX1.8/Ex_1_8.sce @@ -0,0 +1,17 @@ +//Example 1_8
+clc;
+clear;close;
+
+//Given data
+i_h=50*10^-3;//A
+t=50*10^-6;//s
+Vdc=100;//V
+R=20;//ohm
+L=0.5;//H
+
+//Solution :
+i=Vdc/R*(1-exp(-R*t/L));//A
+//i<i_h;;;so thyristor will return to off state
+iR=i_h-i;//A//current through R
+R=Vdc/iR;//ohm
+disp("Maximum value of R is "+string(R)+" ohm.");
|