summaryrefslogtreecommitdiff
path: root/45
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:38:01 +0530
committerprashantsinalkar2017-10-10 12:38:01 +0530
commitf35ea80659b6a49d1bb2ce1d7d002583f3f40947 (patch)
treeeb72842d800ac1233e9d890e020eac5fd41b0b1b /45
parent7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (diff)
downloadScilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.gz
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.tar.bz2
Scilab-TBC-Uploads-f35ea80659b6a49d1bb2ce1d7d002583f3f40947.zip
updated the code
Diffstat (limited to '45')
-rwxr-xr-x45/CH7/EX7.2/example_7_2.sce18
1 files changed, 9 insertions, 9 deletions
diff --git a/45/CH7/EX7.2/example_7_2.sce b/45/CH7/EX7.2/example_7_2.sce
index 5ea24f2f8..7664b0e02 100755
--- a/45/CH7/EX7.2/example_7_2.sce
+++ b/45/CH7/EX7.2/example_7_2.sce
@@ -1,9 +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
+//example 7.2
+clc;
+clear;
+//prop_delay = input('Enter the propagation delay in nano seconds:');
+prop_delay=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 \ No newline at end of file