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 /182/CH11/EX11.5 | |
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 '182/CH11/EX11.5')
-rwxr-xr-x | 182/CH11/EX11.5/11_5.txt | 4 | ||||
-rwxr-xr-x | 182/CH11/EX11.5/example11_5.sce | 21 |
2 files changed, 25 insertions, 0 deletions
diff --git a/182/CH11/EX11.5/11_5.txt b/182/CH11/EX11.5/11_5.txt new file mode 100755 index 000000000..85fd23ab4 --- /dev/null +++ b/182/CH11/EX11.5/11_5.txt @@ -0,0 +1,4 @@ +
+5.PULSE WIDTH=289 micro-sec
+ For pulse width of 6 ms,
+ C2=0.2 micro-F
\ No newline at end of file diff --git a/182/CH11/EX11.5/example11_5.sce b/182/CH11/EX11.5/example11_5.sce new file mode 100755 index 000000000..99a5347a6 --- /dev/null +++ b/182/CH11/EX11.5/example11_5.sce @@ -0,0 +1,21 @@ +// to find the output pulse width and capacitance for the given pulse width in figure 11-15
+// example 11-5 in page 334
+clc;
+//data given
+Vcc=10;//supply voltage in Volt
+Vee=10;// supply voltage in volt
+VB=1;// base voltage in volt
+R=1e+3*[22 10];//resistances R1 in ohm and R2 in ohm
+C=[100D-12 0.01D-6];//capacitance C1 in farad and C2 in farad
+//calculation
+Vop=Vcc-1;// positive output voltage in volt
+Von=-(Vee-1);// negative output voltage in volt
+PW=C(2)*R(2)*log((Vop-Von)/VB);//pulse width in seconds
+printf("PULSE WIDTH=%d micro-sec\n",PW*10^6);
+PW=6e-3;//to calculate C2 for PW=6 ms
+C2=PW/(R(2)*log((Vop-Von)/VB));// capacitance in farad
+printf("For pulse width of 6 ms,\nC2=%.1f micro-F",C2*10^6);
+//result
+//PULSE WIDTH=289 micro-sec
+//For pulse width of 6 ms,
+//C2=0.2 micro-F
\ No newline at end of file |