diff options
Diffstat (limited to '3871/CH16/EX16.12/Ex16_12.sce')
-rw-r--r-- | 3871/CH16/EX16.12/Ex16_12.sce | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/3871/CH16/EX16.12/Ex16_12.sce b/3871/CH16/EX16.12/Ex16_12.sce new file mode 100644 index 000000000..00cff751f --- /dev/null +++ b/3871/CH16/EX16.12/Ex16_12.sce @@ -0,0 +1,14 @@ +//=====================================================================================
+//Chapter 16 example 12
+clc;clear all;
+
+//variable declaration
+fx = 1000; //frequency of horizontal input in Hz
+Pv = 2; //pointsof tangency to vertical line
+Ph = 5; //pointsof tangency to horizontal line
+
+//calculations
+fy = fx*(Ph/(Pv)); //frequency ofvertical input in Hz
+
+//result
+mprintf("frequency ofvertical input = %3.2f Hz",fy);
|