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