summaryrefslogtreecommitdiff
path: root/45/CH7/EX7.2/example_7_2.sce
blob: 5ea24f2f892adf9254e415a78c8846d2346ee34d (plain)
1
2
3
4
5
6
7
8
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