diff options
Diffstat (limited to '3754/CH6/EX6.4/6_4.sce')
-rw-r--r-- | 3754/CH6/EX6.4/6_4.sce | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/3754/CH6/EX6.4/6_4.sce b/3754/CH6/EX6.4/6_4.sce new file mode 100644 index 000000000..0b17908e7 --- /dev/null +++ b/3754/CH6/EX6.4/6_4.sce @@ -0,0 +1,13 @@ +clear//
+
+//Variables
+
+f = 69.0 //frequency (in Mega-hertz)
+
+//Calculation
+
+T = 1/f //Time period (in micro-seconds)
+
+//Result
+
+printf("\n Time period is %0.2f ns.",T * 10**3)
|