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/EX8.2 | |
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/EX8.2')
-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 |