diff options
Diffstat (limited to '3754/CH6/EX6.1')
-rw-r--r-- | 3754/CH6/EX6.1/6_1.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3754/CH6/EX6.1/6_1.sce b/3754/CH6/EX6.1/6_1.sce new file mode 100644 index 000000000..129018ad1 --- /dev/null +++ b/3754/CH6/EX6.1/6_1.sce @@ -0,0 +1,14 @@ +clear//
+
+//Variables
+
+t = 1.0 //time (in milliseconds)
+n = 10.0 //number of cycles
+
+//Calculation
+
+T = t/n //Time period (in milliseconds)
+
+//Result
+
+printf("\n Time period by one cycle is %0.3f ms.",T)
|