summaryrefslogtreecommitdiff
path: root/3838/CH2/EX2.1.a/Ex2_1_a.sce
diff options
context:
space:
mode:
Diffstat (limited to '3838/CH2/EX2.1.a/Ex2_1_a.sce')
-rw-r--r--3838/CH2/EX2.1.a/Ex2_1_a.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/3838/CH2/EX2.1.a/Ex2_1_a.sce b/3838/CH2/EX2.1.a/Ex2_1_a.sce
new file mode 100644
index 000000000..2be3dd31a
--- /dev/null
+++ b/3838/CH2/EX2.1.a/Ex2_1_a.sce
@@ -0,0 +1,9 @@
+//example 2.1.a
+//check the signal is periodic or not
+clc ;
+t = -15:0.01:15;
+y =2*(cos( t/4 ));
+plot (t ,y ) ;
+xtitle('plot of function 2*cos(t/4)')
+xlabel('time-->')
+disp ( 'Plot shows that given signal is periodic with period T=8%pi' ) ;