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 /1199/CH2/EX2.53/2_53.sci | |
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 '1199/CH2/EX2.53/2_53.sci')
-rwxr-xr-x | 1199/CH2/EX2.53/2_53.sci | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/1199/CH2/EX2.53/2_53.sci b/1199/CH2/EX2.53/2_53.sci new file mode 100755 index 000000000..7ac4db43e --- /dev/null +++ b/1199/CH2/EX2.53/2_53.sci @@ -0,0 +1,18 @@ +// 2.53
+clc;
+R=10^6;
+C=2500*10^-12;
+tc=R*C;
+t=2*10^-3;
+d=100*10^-12;
+F=0.1;
+el=10^3*{d*F*[exp(-t/tc)]/C};
+printf("Voltage just before t=2ms =%.2f mV",e1)
+el_after=10^3*{d*F*[exp(-t/tc)-1]/C};
+disp(el_after,'voltage just after t=2ms (mV)')
+printf("Voltage just after t=2ms =%.2f mV",el_after)
+disp('when t=10ms')
+t=10*10^-3;
+T=2*10
+e_10=10^3*{d*F*[exp((-T/tc)-1)]*{exp(-(t-T))/tc}/C}
+printf("output voltage 10 ms after the application of impulse =%.0f mV",e_10)
|