diff options
Diffstat (limited to '3871/CH9/EX9.1/Ex9_1.sce')
-rw-r--r-- | 3871/CH9/EX9.1/Ex9_1.sce | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/3871/CH9/EX9.1/Ex9_1.sce b/3871/CH9/EX9.1/Ex9_1.sce new file mode 100644 index 000000000..b1343b88c --- /dev/null +++ b/3871/CH9/EX9.1/Ex9_1.sce @@ -0,0 +1,15 @@ +//===========================================================================
+//chapter 9 example 1
+
+clc;clear all;
+
+//variable declaration
+N = 1500; //speed of shaft in rm
+T =120; //number of teeth on rotator
+
+//calculatins
+f = (N/60)*T; //frequency of output pulses in pulses per second
+
+//result
+mprintf("frequency of output pulses in pulses = %3.2f pulses per second",f);
+
|