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 /74/CH8 | |
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 '74/CH8')
-rwxr-xr-x | 74/CH8/EX8.1/example1_sce.sce | 6 | ||||
-rwxr-xr-x | 74/CH8/EX8.2/example2_sce.sce | 10 | ||||
-rwxr-xr-x | 74/CH8/EX8.3/example3_sce.sce | 7 | ||||
-rwxr-xr-x | 74/CH8/EX8.4/example4_sce.sce | 10 | ||||
-rwxr-xr-x | 74/CH8/EX8.5/example5_sce.sce | 25 | ||||
-rwxr-xr-x | 74/CH8/EX8.6/example6_sce.sce | 8 | ||||
-rwxr-xr-x | 74/CH8/EX8.7/example7_sce.sce | 11 |
7 files changed, 77 insertions, 0 deletions
diff --git a/74/CH8/EX8.1/example1_sce.sce b/74/CH8/EX8.1/example1_sce.sce new file mode 100755 index 000000000..9d2a118dc --- /dev/null +++ b/74/CH8/EX8.1/example1_sce.sce @@ -0,0 +1,6 @@ +// chapter 8
+//example 8.1
+//page 293
+R=10*10^3;C=.1*10^-6;// given
+t=1.1*R*C;//output pulse width
+disp(t)//pulse widht in sec
\ No newline at end of file diff --git a/74/CH8/EX8.2/example2_sce.sce b/74/CH8/EX8.2/example2_sce.sce new file mode 100755 index 000000000..e16a63ecf --- /dev/null +++ b/74/CH8/EX8.2/example2_sce.sce @@ -0,0 +1,10 @@ +//chapter 8
+//example 8.2
+//page 298
+R1=4*10^3;R2=4*10^3;// given for 555 timer
+C=.01*10^-6;//for 555 timer
+f=1.44/((R1+2*R2)*C);
+disp(f)//frequency of output in Hz
+D=(R1+R2)/(R1+2*R2);
+disp(D)//duty cycle
+percentage=D*100
\ No newline at end of file diff --git a/74/CH8/EX8.3/example3_sce.sce b/74/CH8/EX8.3/example3_sce.sce new file mode 100755 index 000000000..8a552a039 --- /dev/null +++ b/74/CH8/EX8.3/example3_sce.sce @@ -0,0 +1,7 @@ +//chapter8
+//example 8.3
+//page300
+Ton=5;//given
+C=10*10^-6;//let assume
+R=Ton/(1.1*C);//using Ton=1.1RC
+disp(R)//this not standard value but we can adjust by connecting variable resistance
\ No newline at end of file diff --git a/74/CH8/EX8.4/example4_sce.sce b/74/CH8/EX8.4/example4_sce.sce new file mode 100755 index 000000000..5e440a538 --- /dev/null +++ b/74/CH8/EX8.4/example4_sce.sce @@ -0,0 +1,10 @@ +//chapter 8
+//example 8.4
+//page 301
+Toff=1;Ton=3;//given
+C=10*10^-6;//choosing
+R2=Toff/(.693*C);//using eq Toff=.693RC
+disp(R2)//resistance
+//Ton=.693(R1+R2)C
+R1=(Ton/(.693*C))-R2;
+disp(R1)//required resistance
\ No newline at end of file diff --git a/74/CH8/EX8.5/example5_sce.sce b/74/CH8/EX8.5/example5_sce.sce new file mode 100755 index 000000000..c3683131d --- /dev/null +++ b/74/CH8/EX8.5/example5_sce.sce @@ -0,0 +1,25 @@ +//chapter8
+//example8.5
+//page301
+T=10*10^-3;//for proper operation of LED which remain ON for 10msec
+C=.22*10^-6//choose
+Vcc=15;Vbe=.7;Vcesat=.2;//given
+Vled=1.4;Iled=20*10^-3;
+//T=1.1RC
+R=T/(1.1*C);
+disp(R)
+Vo=Vcc-2*Vbe-Vcesat;//output of timer
+disp(Vo)
+Rled=(Vo-Vled)/Iled;
+disp(Rled)//this resistance must be in series whit LED
+f=1000;D=95;//for an astable timer
+C1=.01*10^-6;
+R1=%s;R2=%s;
+f=1.44/(R1+2*R2)*C;//frequency--------------eq(1)
+D=(R1+R2)/(R1+2*R2)//duty cycle-------------eq(2)
+R2=.0555*R1;//from eq(2)
+//put it in eq(1)
+R1=144*10^3/(1+2*.0555);
+disp(R1)
+R2=.0555*R1;
+disp(R2)
\ No newline at end of file diff --git a/74/CH8/EX8.6/example6_sce.sce b/74/CH8/EX8.6/example6_sce.sce new file mode 100755 index 000000000..2448aad01 --- /dev/null +++ b/74/CH8/EX8.6/example6_sce.sce @@ -0,0 +1,8 @@ +//chapter 8
+//example 8.6
+//page 302
+T=5*10^-3;
+C=.1*10^-6;
+//T=1.1RC
+R=T/(1.1*C);
+disp(R)//value of R should be less than 100k as obtain above
\ No newline at end of file diff --git a/74/CH8/EX8.7/example7_sce.sce b/74/CH8/EX8.7/example7_sce.sce new file mode 100755 index 000000000..1ff40d5d4 --- /dev/null +++ b/74/CH8/EX8.7/example7_sce.sce @@ -0,0 +1,11 @@ +//chapter8
+//example8.7
+//page 303
+f=1000;
+T=1/f
+Td=T/2
+C=.1*10^-6;
+//Td=.69R2C
+R2=Td/(.69*C);
+disp(R2)
+R1=R2//for square wave R1=R2
\ No newline at end of file |