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 /61/CH16/EX16.6 | |
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 '61/CH16/EX16.6')
-rwxr-xr-x | 61/CH16/EX16.6/ex16_6.sce | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/61/CH16/EX16.6/ex16_6.sce b/61/CH16/EX16.6/ex16_6.sce new file mode 100755 index 000000000..056dc16c7 --- /dev/null +++ b/61/CH16/EX16.6/ex16_6.sce @@ -0,0 +1,8 @@ +//ex16.6
+R1=2.2*10^3;
+R2=4.7*10^3;
+C_ext=0.022*10^-6;
+f_r=1.44/((R1+2*R2)*C_ext);
+disp(f_r,'frequency of the 555 timer in hertz')
+duty_cycle=((R1+R2)/(R1+2*R2))*100;
+disp(duty_cycle,'duty cycle in percentage')
\ No newline at end of file |