diff options
Diffstat (limited to '74/CH8/EX8.2/example2_sce.sce')
-rwxr-xr-x | 74/CH8/EX8.2/example2_sce.sce | 10 |
1 files changed, 10 insertions, 0 deletions
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 |