diff options
Diffstat (limited to '1997/CH11/EX11.4/example4.sce')
-rwxr-xr-x | 1997/CH11/EX11.4/example4.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/1997/CH11/EX11.4/example4.sce b/1997/CH11/EX11.4/example4.sce new file mode 100755 index 000000000..839b75408 --- /dev/null +++ b/1997/CH11/EX11.4/example4.sce @@ -0,0 +1,13 @@ +//Chapter-11 example 4
+//=============================================================================
+clc;
+clear;
+PW = 1.5*10^-6;//pulse width in sec
+PRF = 2000//per second
+
+//Calculations
+Dc = PW*PRF;//duty cycle
+
+//Output
+mprintf('Duty Cycle is %e',Dc);
+//==========end of program=====================================================
|