diff options
Diffstat (limited to '911/CH8/EX8.5/ex_8_5_a.sce')
-rw-r--r-- | 911/CH8/EX8.5/ex_8_5_a.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/911/CH8/EX8.5/ex_8_5_a.sce b/911/CH8/EX8.5/ex_8_5_a.sce new file mode 100644 index 000000000..b0d20eb34 --- /dev/null +++ b/911/CH8/EX8.5/ex_8_5_a.sce @@ -0,0 +1,15 @@ +//example 8.5(a)//
+clc
+//clears the screen//
+clear
+//clears the variables//
+close
+//closes all existing files other than this//
+disp('As there are two flip flops so, for first output frequency will be half of the original one while for second flip flop output frequency will be half of the first flip flop, so overall it will be one-fourth of the input frequency')
+T=10*(10^-6)
+//time period in seconds//
+fi=1/T;
+//input frequency//
+f=fi/4;
+//output frequency//
+disp(f,'output frequency(in Hz)=')
\ No newline at end of file |