summaryrefslogtreecommitdiff
path: root/3838/CH2/EX2.2.C/Example2_2_c.sce
diff options
context:
space:
mode:
Diffstat (limited to '3838/CH2/EX2.2.C/Example2_2_c.sce')
-rw-r--r--3838/CH2/EX2.2.C/Example2_2_c.sce7
1 files changed, 7 insertions, 0 deletions
diff --git a/3838/CH2/EX2.2.C/Example2_2_c.sce b/3838/CH2/EX2.2.C/Example2_2_c.sce
new file mode 100644
index 000000000..8f0a9dd57
--- /dev/null
+++ b/3838/CH2/EX2.2.C/Example2_2_c.sce
@@ -0,0 +1,7 @@
+//example 2.2.c
+//check the signal is periodic or not
+clc ;
+t =-6:0.01:6;
+y =(5*cos(4*%pi*t))+(3*sin(8*%pi*t));
+plot(t,y);
+disp ( 'Plot shows that given signal is periodic with periodicity=1/2' ) ;