summaryrefslogtreecommitdiff
path: root/3554/CH12/EX12.1
diff options
context:
space:
mode:
Diffstat (limited to '3554/CH12/EX12.1')
-rw-r--r--3554/CH12/EX12.1/Ex12_1.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3554/CH12/EX12.1/Ex12_1.sce b/3554/CH12/EX12.1/Ex12_1.sce
new file mode 100644
index 000000000..820e88065
--- /dev/null
+++ b/3554/CH12/EX12.1/Ex12_1.sce
@@ -0,0 +1,15 @@
+// Exa 12.1
+
+clc;
+clear all;
+
+// Given data
+
+Chart_speed=40; // in mm/sec
+Time_base=5; // in mm
+
+// Solution
+
+Period= Time_base/Chart_speed;
+frequ=1/Period;
+printf(' The frequency of the signal = %d cycles/sec \n',frequ);