diff options
Diffstat (limited to '165/CH12/EX12.2/ex12_2.sce')
-rw-r--r-- | 165/CH12/EX12.2/ex12_2.sce | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/165/CH12/EX12.2/ex12_2.sce b/165/CH12/EX12.2/ex12_2.sce new file mode 100644 index 000000000..1b9af84c0 --- /dev/null +++ b/165/CH12/EX12.2/ex12_2.sce @@ -0,0 +1,9 @@ +//Example 12.2
+clc;
+
+f=20; //Frequency in Hz
+time_base=5; //one cycle of signal recorded in mm
+period=invr(f);
+chart_speed=time_base/period;
+
+printf('\nChart speed of signal is %d mm/s\n',chart_speed)
\ No newline at end of file |