diff options
Diffstat (limited to '45/CH7/EX7.2')
-rwxr-xr-x | 45/CH7/EX7.2/example_7_2.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/45/CH7/EX7.2/example_7_2.sce b/45/CH7/EX7.2/example_7_2.sce new file mode 100755 index 000000000..5ea24f2f8 --- /dev/null +++ b/45/CH7/EX7.2/example_7_2.sce @@ -0,0 +1,9 @@ +//example 7.2
+clc;
+clear;
+//prop_delay = input('Enter the propagation delay in nano seconds:');
+prop_dely=24; // taking the given input
+ format('v',18); //setting the precision
+max_clk_frq = 1/prop_delay; // making necessary calculations
+max_clk_frq = max_clk_frq*10^3;
+printf('maximum clock frequency is %f KHz',max_clk_frq); // displaying the result
|