summaryrefslogtreecommitdiff
path: root/2414/CH8/EX8.2
diff options
context:
space:
mode:
Diffstat (limited to '2414/CH8/EX8.2')
-rwxr-xr-x2414/CH8/EX8.2/Ex8_2.sce10
1 files changed, 10 insertions, 0 deletions
diff --git a/2414/CH8/EX8.2/Ex8_2.sce b/2414/CH8/EX8.2/Ex8_2.sce
new file mode 100755
index 000000000..b66107c9d
--- /dev/null
+++ b/2414/CH8/EX8.2/Ex8_2.sce
@@ -0,0 +1,10 @@
+clc;
+close();
+clear();
+//page no 277
+//prob no. 8.2
+W=5000; //Hz
+fs=1.25*2*W;
+mprintf('(a) The sampling rate is %i Hz.\n',fs);
+T=1/fs; //second
+mprintf('(b) Maximum interval between samples is %f seconds',T);