summaryrefslogtreecommitdiff
path: root/3871/CH16/EX16.10/Ex16_10.sce
diff options
context:
space:
mode:
Diffstat (limited to '3871/CH16/EX16.10/Ex16_10.sce')
-rw-r--r--3871/CH16/EX16.10/Ex16_10.sce15
1 files changed, 15 insertions, 0 deletions
diff --git a/3871/CH16/EX16.10/Ex16_10.sce b/3871/CH16/EX16.10/Ex16_10.sce
new file mode 100644
index 000000000..a90c0ffdb
--- /dev/null
+++ b/3871/CH16/EX16.10/Ex16_10.sce
@@ -0,0 +1,15 @@
+//=====================================================================================
+//Chapter 16 example 10
+
+clc;clear all;
+
+//variable declartion
+wy = 3; //positive Y-axis in pattern
+wx = 2; //positive X-axis in pattern
+
+//calculations
+f =wy/(wx); //frequency of vertical and horizontal signal
+
+//result
+mprintf("frequency of vertical and horizontal signal = %3.1f",f);
+