summaryrefslogtreecommitdiff
path: root/3838/CH2
diff options
context:
space:
mode:
Diffstat (limited to '3838/CH2')
-rw-r--r--3838/CH2/EX2.1.C/EX2_1_C.pngbin0 -> 18087 bytes
-rw-r--r--3838/CH2/EX2.1.C/Ex2_1_c.sce7
-rw-r--r--3838/CH2/EX2.1.D/EX2_1_D.pngbin0 -> 17259 bytes
-rw-r--r--3838/CH2/EX2.1.D/Ex2_1_d.sce7
-rw-r--r--3838/CH2/EX2.1.E/EX2_1_E.pngbin0 -> 17634 bytes
-rw-r--r--3838/CH2/EX2.1.E/Ex2_1_e.sce7
-rw-r--r--3838/CH2/EX2.1.a/Ex2_1_a.pngbin0 -> 18039 bytes
-rw-r--r--3838/CH2/EX2.1.a/Ex2_1_a.sce9
-rw-r--r--3838/CH2/EX2.1.b/Ex2_1_b.pngbin0 -> 18727 bytes
-rw-r--r--3838/CH2/EX2.1.b/Ex2_1_b.sce10
-rw-r--r--3838/CH2/EX2.11.a/EX2_11_a.sce17
-rw-r--r--3838/CH2/EX2.11.b/EX2_11_b.sce16
-rw-r--r--3838/CH2/EX2.12.a/EX2_12_a.sce16
-rw-r--r--3838/CH2/EX2.12.b/EX2_12_b.sce17
-rw-r--r--3838/CH2/EX2.12.c/EX2_12_c.sce17
-rw-r--r--3838/CH2/EX2.13.a/Ex2_13_a.sce33
-rw-r--r--3838/CH2/EX2.13.c/Ex2_13_c.sce33
-rw-r--r--3838/CH2/EX2.13.d/Ex2_13_d.sce35
-rw-r--r--3838/CH2/EX2.13.e/Ex2_13_e.sce33
-rw-r--r--3838/CH2/EX2.17.a/EX2_17_a.sce10
-rw-r--r--3838/CH2/EX2.18.a/EX2_18_A.sce6
-rw-r--r--3838/CH2/EX2.18.c/EX2_18_C.sce5
-rw-r--r--3838/CH2/EX2.18.d/EX2_18_D.sce5
-rw-r--r--3838/CH2/EX2.18.f/EX2_18_F.sce5
-rw-r--r--3838/CH2/EX2.2.C/EX2_2_C.pngbin0 -> 16145 bytes
-rw-r--r--3838/CH2/EX2.2.C/Example2_2_c.sce7
-rw-r--r--3838/CH2/EX2.2.a/EX2_2_a.pngbin0 -> 17095 bytes
-rw-r--r--3838/CH2/EX2.2.a/Example2_2_a.sce7
-rw-r--r--3838/CH2/EX2.2.b/EX2_2_b.pngbin0 -> 17060 bytes
-rw-r--r--3838/CH2/EX2.2.b/Example2_2_b.sce7
-rw-r--r--3838/CH2/EX2.20.B/EX2_20_B.sce6
-rw-r--r--3838/CH2/EX2.20.C/EX2_20_C.sce6
-rw-r--r--3838/CH2/EX2.20.D/EX2_20_D.sce6
-rw-r--r--3838/CH2/EX2.20.a/EX2_20_A.sce6
-rw-r--r--3838/CH2/EX2.21.B/EX2_21_B.sce6
-rw-r--r--3838/CH2/EX2.21.C/EX2_21_c.sce6
-rw-r--r--3838/CH2/EX2.21.D/EX2_21_d.sce6
-rw-r--r--3838/CH2/EX2.21.E/EX2_21_e.sce9
-rw-r--r--3838/CH2/EX2.21.a/EX2_21_A.sce6
-rw-r--r--3838/CH2/EX2.22.A/EX2_22_A.sce19
-rw-r--r--3838/CH2/EX2.22.b/EX2_22_B.sce20
-rw-r--r--3838/CH2/EX2.3.C/EX2_3_c.sce12
-rw-r--r--3838/CH2/EX2.3.a/EX2_3_a.sce25
-rw-r--r--3838/CH2/EX2.3.b/EX2_3_b.sce25
-rw-r--r--3838/CH2/EX2.4.A/EX2_4_a.sce7
-rw-r--r--3838/CH2/EX2.4.b/EX2_4_b.sce6
-rw-r--r--3838/CH2/EX2.4.c/EX2_4_c.sce6
47 files changed, 486 insertions, 0 deletions
diff --git a/3838/CH2/EX2.1.C/EX2_1_C.png b/3838/CH2/EX2.1.C/EX2_1_C.png
new file mode 100644
index 000000000..a748d578c
--- /dev/null
+++ b/3838/CH2/EX2.1.C/EX2_1_C.png
Binary files differ
diff --git a/3838/CH2/EX2.1.C/Ex2_1_c.sce b/3838/CH2/EX2.1.C/Ex2_1_c.sce
new file mode 100644
index 000000000..e8ab7c5e9
--- /dev/null
+++ b/3838/CH2/EX2.1.C/Ex2_1_c.sce
@@ -0,0 +1,7 @@
+//example 2.1.c
+//check the signal is periodic or not
+clc ;
+t =-15:0.01:15;
+y =exp(-(2*%i*%pi*t)/7);
+plot(t,y);
+disp ( 'Plot shows that given signal is periodic with periodicity=7' ) ;
diff --git a/3838/CH2/EX2.1.D/EX2_1_D.png b/3838/CH2/EX2.1.D/EX2_1_D.png
new file mode 100644
index 000000000..0b9ca2611
--- /dev/null
+++ b/3838/CH2/EX2.1.D/EX2_1_D.png
Binary files differ
diff --git a/3838/CH2/EX2.1.D/Ex2_1_d.sce b/3838/CH2/EX2.1.D/Ex2_1_d.sce
new file mode 100644
index 000000000..2be67789d
--- /dev/null
+++ b/3838/CH2/EX2.1.D/Ex2_1_d.sce
@@ -0,0 +1,7 @@
+//example 2.1.d
+//check the signal is periodic or not
+clc ;
+t =-15:0.01:15;
+y =3*(cos((5*t)+(%pi/6)));
+plot(t,y);
+disp ( 'Plot shows that given signal is periodic with periodicity=2%pi/5' ) ;
diff --git a/3838/CH2/EX2.1.E/EX2_1_E.png b/3838/CH2/EX2.1.E/EX2_1_E.png
new file mode 100644
index 000000000..72147e49c
--- /dev/null
+++ b/3838/CH2/EX2.1.E/EX2_1_E.png
Binary files differ
diff --git a/3838/CH2/EX2.1.E/Ex2_1_e.sce b/3838/CH2/EX2.1.E/Ex2_1_e.sce
new file mode 100644
index 000000000..03c82badc
--- /dev/null
+++ b/3838/CH2/EX2.1.E/Ex2_1_e.sce
@@ -0,0 +1,7 @@
+//example 2.1.e
+//check the signal is periodic or not
+clc ;
+t =-15:0.01:15;
+y =(1+cos(2*(2*t)-(%pi/3)))/(2);
+plot(t,y);
+disp ( 'Plot shows that given signal is periodic with periodicity=%pi/2' ) ;
diff --git a/3838/CH2/EX2.1.a/Ex2_1_a.png b/3838/CH2/EX2.1.a/Ex2_1_a.png
new file mode 100644
index 000000000..2c3cd4eaa
--- /dev/null
+++ b/3838/CH2/EX2.1.a/Ex2_1_a.png
Binary files differ
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' ) ;
diff --git a/3838/CH2/EX2.1.b/Ex2_1_b.png b/3838/CH2/EX2.1.b/Ex2_1_b.png
new file mode 100644
index 000000000..7feb318af
--- /dev/null
+++ b/3838/CH2/EX2.1.b/Ex2_1_b.png
Binary files differ
diff --git a/3838/CH2/EX2.1.b/Ex2_1_b.sce b/3838/CH2/EX2.1.b/Ex2_1_b.sce
new file mode 100644
index 000000000..27f80ca78
--- /dev/null
+++ b/3838/CH2/EX2.1.b/Ex2_1_b.sce
@@ -0,0 +1,10 @@
+//example 2.1.b
+//check the signal is periodic or not
+clc ;
+t =-15:0.01:15;
+a=1;//assumed the value of a to be equal to 1
+y =exp(a*t);
+plot(t,y);
+xtitle('plot of function exp(a*t)')
+xlabel('time--->')
+disp ( 'Plot shows that given signal is not periodic' ) ;
diff --git a/3838/CH2/EX2.11.a/EX2_11_a.sce b/3838/CH2/EX2.11.a/EX2_11_a.sce
new file mode 100644
index 000000000..78372bd79
--- /dev/null
+++ b/3838/CH2/EX2.11.a/EX2_11_a.sce
@@ -0,0 +1,17 @@
+//Example 2.11.a
+//to check the system is time invariant or not
+clc ;
+t0 =1;
+T =10;
+for t =1: T
+x ( t ) =t;
+y ( t ) =(2)*(t)*x(t) ;
+end
+inputshift = 2*(T)*x (T - t0 );
+outputshift = y (T - t0 ) ;
+if( inputshift == outputshift )
+disp ( 'THE GIVEN SYSTEM I S TIME INVARIANT ' )
+else
+disp ( 'THE GIVEN SYSTEM I S TIME VARIANT ' ) ;
+end
+
diff --git a/3838/CH2/EX2.11.b/EX2_11_b.sce b/3838/CH2/EX2.11.b/EX2_11_b.sce
new file mode 100644
index 000000000..e1d8854c0
--- /dev/null
+++ b/3838/CH2/EX2.11.b/EX2_11_b.sce
@@ -0,0 +1,16 @@
+//Example 2 . 2 11 b
+clc ;
+t0 =1;
+T =10;
+for t =1: T
+x ( t ) =t;
+y ( t ) =x(t)*sin(20*%pi*t) ;
+end
+inputshift = x(T-t0)*sin (20*%pi*(T) ) ;
+outputshift = y (T - t0 ) ;
+if( inputshift == outputshift )
+disp ( 'THE GIVEN SYSTEM I S TIME INVARIANT ' )
+else
+disp ( 'THE GIVEN SYSTEM I S TIME VARIANT ' ) ;
+end
+
diff --git a/3838/CH2/EX2.12.a/EX2_12_a.sce b/3838/CH2/EX2.12.a/EX2_12_a.sce
new file mode 100644
index 000000000..f9748b976
--- /dev/null
+++ b/3838/CH2/EX2.12.a/EX2_12_a.sce
@@ -0,0 +1,16 @@
+//Example 2 2.12.a
+clc ;
+t0 =1;
+T =10;
+for t =1: T
+x ( t ) =t;
+y ( t ) =(2)*exp(x(t)) ;
+end
+inputshift = 2*exp(x (T - t0))
+outputshift = y (T - t0 )
+if( inputshift == outputshift )
+disp ( 'THE GIVEN SYSTEM I S TIME INVARIANT ' );
+else
+disp ( 'THE GIVEN SYSTEM I S TIME VARIANT ' ) ;
+end
+
diff --git a/3838/CH2/EX2.12.b/EX2_12_b.sce b/3838/CH2/EX2.12.b/EX2_12_b.sce
new file mode 100644
index 000000000..0bbd6bbd7
--- /dev/null
+++ b/3838/CH2/EX2.12.b/EX2_12_b.sce
@@ -0,0 +1,17 @@
+//Example 2 2.12.b
+clc ;
+t0 =1;
+T =10;
+c=2;
+for t =1: T
+x ( t ) =t;
+y ( t ) =x(t)+c ;
+end
+inputshift = x (T - t0)+c
+outputshift = y (T - t0 )
+if( inputshift == outputshift )
+disp ( 'THE GIVEN SYSTEM I S TIME INVARIANT ' );
+else
+disp ( 'THE GIVEN SYSTEM I S TIME VARIANT ' ) ;
+end
+
diff --git a/3838/CH2/EX2.12.c/EX2_12_c.sce b/3838/CH2/EX2.12.c/EX2_12_c.sce
new file mode 100644
index 000000000..f0e7e9e8e
--- /dev/null
+++ b/3838/CH2/EX2.12.c/EX2_12_c.sce
@@ -0,0 +1,17 @@
+//Example 2-12-c
+clc ;
+t0 =1;
+T =10;
+c=2;
+for t =1: T
+x ( t ) =t;
+y ( t ) =3*(x(t))^(2);
+end
+inputshift = 3*(x(T - t0))^(2)
+outputshift = y (T - t0 )
+if( inputshift == outputshift )
+disp ( 'THE GIVEN SYSTEM I S TIME INVARIANT ' );
+else
+disp ( 'THE GIVEN SYSTEM I S TIME VARIANT ' ) ;
+end
+
diff --git a/3838/CH2/EX2.13.a/Ex2_13_a.sce b/3838/CH2/EX2.13.a/Ex2_13_a.sce
new file mode 100644
index 000000000..7ec4454b6
--- /dev/null
+++ b/3838/CH2/EX2.13.a/Ex2_13_a.sce
@@ -0,0 +1,33 @@
+//example 2_13_a
+clear;
+clc;
+x1 = [1,1,1,1];
+x2 = [2,2,2,2];
+a = 1;
+b = 1;
+for t = 1:length(x1)
+ x3(t) = a*x1(t)+b*x2(t);
+end
+for t = 1:length(x1)
+ y1(t) = t*x1(t);
+ y2(t) = t*x2(t);
+ y3(t) = t*x3(t);
+end
+for t = 1:length(y1)
+ z(t) = a*y1(t)+b*y2(t);
+end
+count = 0;
+for n =1:length(y1)
+ if(y3(t)== z(t))
+ count = count+1;
+ end
+end
+if(count == length(y3))
+ disp('Since It satisifies the superposition principle')
+ disp('The given system is a Linear system')
+ y3
+ z
+ else
+ disp('Since It does not satisify the superposition principle')
+ disp('The given system is a Non-Linear system')
+end
diff --git a/3838/CH2/EX2.13.c/Ex2_13_c.sce b/3838/CH2/EX2.13.c/Ex2_13_c.sce
new file mode 100644
index 000000000..f34bc15b7
--- /dev/null
+++ b/3838/CH2/EX2.13.c/Ex2_13_c.sce
@@ -0,0 +1,33 @@
+//EXAMPLE 2.13.C
+clear;
+clc;
+x1 = [1,1,1,1];
+x2 = [2,2,2,2];
+a = 1;
+b = 1;
+for t = 1:length(x1)
+ x3(t) = a*x1(t)+b*x2(t);
+end
+for t = 1:length(x1)
+ y1(t) = (x1(t)^2);
+ y2(t) = (x2(t)^2);
+ y3(t) = (x3(t)^2);
+end
+for t = 1:length(y1)
+ z(t) = a*y1(t)+b*y2(t);
+end
+count = 0;
+for n =1:length(y1)
+ if(y3(t)== z(t))
+ count = count+1;
+ end
+end
+if(count == length(y3))
+ disp('Since It satisifies the superposition principle')
+ disp('The given system is a Linear system')
+ y3
+ z
+ else
+ disp('Since It does not satisify the superposition principle')
+ disp('The given system is a Non-Linear system')
+end
diff --git a/3838/CH2/EX2.13.d/Ex2_13_d.sce b/3838/CH2/EX2.13.d/Ex2_13_d.sce
new file mode 100644
index 000000000..43cfcc627
--- /dev/null
+++ b/3838/CH2/EX2.13.d/Ex2_13_d.sce
@@ -0,0 +1,35 @@
+//EXAMPLE 2.13.D
+clear;
+clc;
+x1 = [1,1,1,1];
+x2 = [2,2,2,2];
+a = 1;
+b = 1;
+A=2
+B=3;
+for n = 1:length(x1)
+ x3(n) = a*x1(n)+b*x2(n);
+end
+for n = 1:length(x1)
+ y1(n) = A*x1(n)+B;
+ y2(n) = A*x2(n)+B;
+ y3(n) = A*x3(n)+B;
+end
+for n = 1:length(y1)
+ z(n) = a*y1(n)+b*y2(n);
+end
+count = 0;
+for n =1:length(y1)
+ if(y3(n)== z(n))
+ count = count+1;
+ end
+end
+if(count == length(y3))
+ disp('Since It satisifies the superposition principle')
+ disp('The given system is a Linear system')
+ y3
+ z
+ else
+ disp('Since It does not satisify the superposition principle')
+ disp('The given system is a Non-Linear system')
+end
diff --git a/3838/CH2/EX2.13.e/Ex2_13_e.sce b/3838/CH2/EX2.13.e/Ex2_13_e.sce
new file mode 100644
index 000000000..d8356dc9a
--- /dev/null
+++ b/3838/CH2/EX2.13.e/Ex2_13_e.sce
@@ -0,0 +1,33 @@
+//EXAMPLE 2.13.e
+clear;
+clc;
+x1 = [1,1,1,1];
+x2 = [2,2,2,2];
+a = 1;
+b = 1;
+for t = 1:length(x1)
+ x3(t) = a*x1(t)+b*x2(t);
+end
+for t = 1:length(x1)
+ y1(t) = exp(x1(t));
+ y2(t) = exp(x2(t));
+ y3(t) = exp(x3(t));
+end
+for t = 1:length(y1)
+ z(t) = a*y1(t)+b*y2(t);
+end
+count = 0;
+for n =1:length(y1)
+ if(y3(t)== z(t))
+ count = count+1;
+ end
+end
+if(count == length(y3))
+ disp('Since It satisifies the superposition principle')
+ disp('The given system is a Linear system')
+ y3
+ z
+ else
+ disp('Since It does not satisify the superposition principle')
+ disp('The given system is a Non-Linear system')
+end
diff --git a/3838/CH2/EX2.17.a/EX2_17_a.sce b/3838/CH2/EX2.17.a/EX2_17_a.sce
new file mode 100644
index 000000000..dd3b04fee
--- /dev/null
+++ b/3838/CH2/EX2.17.a/EX2_17_a.sce
@@ -0,0 +1,10 @@
+//EXAMPLE 2.17.A
+clc;
+x=[1,1,1,1]
+t=-1:0:1;
+y(t)=cos(x(t));
+disp('the max val of cos function is');
+disp(cos(0));
+disp('the min val of cos function is');
+disp(cos(%pi));
+disp('HENCE THE GIVEN SYSTEM IS BOUNDED IN -1 TO 1 HENCE THE GIVEN SYSTEM IS STABLE');
diff --git a/3838/CH2/EX2.18.a/EX2_18_A.sce b/3838/CH2/EX2.18.a/EX2_18_A.sce
new file mode 100644
index 000000000..ed1fbedbe
--- /dev/null
+++ b/3838/CH2/EX2.18.a/EX2_18_A.sce
@@ -0,0 +1,6 @@
+//Example 2.18.a
+clc;
+P=integrate('(exp(-5*t))','t',0,100)
+E=integrate('(exp(5*t))','t',-100,0)
+disp(P+E)
+disp('AS THE INTEGRATION PRODUCT IS CONSTANT HENCE THE SYSTEM IS STABLE');
diff --git a/3838/CH2/EX2.18.c/EX2_18_C.sce b/3838/CH2/EX2.18.c/EX2_18_C.sce
new file mode 100644
index 000000000..827b361f6
--- /dev/null
+++ b/3838/CH2/EX2.18.c/EX2_18_C.sce
@@ -0,0 +1,5 @@
+//Example 2.18.C
+clc;
+P=integrate('(exp(-4*t))','t',0,100)
+disp(P)
+disp('AS THE INTEGRATION PRODUCT IS CONSTANT HENCE THE SYSTEM IS STABLE');
diff --git a/3838/CH2/EX2.18.d/EX2_18_D.sce b/3838/CH2/EX2.18.d/EX2_18_D.sce
new file mode 100644
index 000000000..875333538
--- /dev/null
+++ b/3838/CH2/EX2.18.d/EX2_18_D.sce
@@ -0,0 +1,5 @@
+//Example 2.18.D
+clc;
+P=integrate('(t*exp(-3*t))','t',0,100)
+disp(P)
+disp('AS THE INTEGRATION PRODUCT IS CONSTANT HENCE THE SYSTEM IS STABLE');
diff --git a/3838/CH2/EX2.18.f/EX2_18_F.sce b/3838/CH2/EX2.18.f/EX2_18_F.sce
new file mode 100644
index 000000000..83aa2adc3
--- /dev/null
+++ b/3838/CH2/EX2.18.f/EX2_18_F.sce
@@ -0,0 +1,5 @@
+//Example 2.18.F
+clc;
+P=integrate('(exp(-t)*sin(t))','t',0,100)
+disp(P)
+disp('AS THE INTEGRATION PRODUCT IS CONSTANT HENCE THE SYSTEM IS STABLE');
diff --git a/3838/CH2/EX2.2.C/EX2_2_C.png b/3838/CH2/EX2.2.C/EX2_2_C.png
new file mode 100644
index 000000000..c31b6a497
--- /dev/null
+++ b/3838/CH2/EX2.2.C/EX2_2_C.png
Binary files differ
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' ) ;
diff --git a/3838/CH2/EX2.2.a/EX2_2_a.png b/3838/CH2/EX2.2.a/EX2_2_a.png
new file mode 100644
index 000000000..ebf88d5d4
--- /dev/null
+++ b/3838/CH2/EX2.2.a/EX2_2_a.png
Binary files differ
diff --git a/3838/CH2/EX2.2.a/Example2_2_a.sce b/3838/CH2/EX2.2.a/Example2_2_a.sce
new file mode 100644
index 000000000..c10394ae5
--- /dev/null
+++ b/3838/CH2/EX2.2.a/Example2_2_a.sce
@@ -0,0 +1,7 @@
+//example 2.2.a
+//check the signal is periodic or not
+clc ;
+t =-15:0.01:15;
+y =(2*cos((2)*(%pi)*t/3))+(3*cos((2)*(%pi)*t/7));
+plot(t,y);
+disp ( 'Plot shows that given signal is periodic with periodicity=21' ) ;
diff --git a/3838/CH2/EX2.2.b/EX2_2_b.png b/3838/CH2/EX2.2.b/EX2_2_b.png
new file mode 100644
index 000000000..23bbb7d64
--- /dev/null
+++ b/3838/CH2/EX2.2.b/EX2_2_b.png
Binary files differ
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' ) ;
diff --git a/3838/CH2/EX2.20.B/EX2_20_B.sce b/3838/CH2/EX2.20.B/EX2_20_B.sce
new file mode 100644
index 000000000..c2442f806
--- /dev/null
+++ b/3838/CH2/EX2.20.B/EX2_20_B.sce
@@ -0,0 +1,6 @@
+//EXAMPLE 2.20.B
+clc;
+x1=100;
+x=integrate('exp(-2*t)*exp(-5*t)','t',0,x1);
+disp(x);
+disp('valid for t>=0');
diff --git a/3838/CH2/EX2.20.C/EX2_20_C.sce b/3838/CH2/EX2.20.C/EX2_20_C.sce
new file mode 100644
index 000000000..04a0be4b3
--- /dev/null
+++ b/3838/CH2/EX2.20.C/EX2_20_C.sce
@@ -0,0 +1,6 @@
+//EXAMPLE 2.20.C
+clc;
+x1=100;
+x=integrate('t*exp(-5*t)','t',0,x1);
+disp(x);
+disp('valid for t>=0');
diff --git a/3838/CH2/EX2.20.D/EX2_20_D.sce b/3838/CH2/EX2.20.D/EX2_20_D.sce
new file mode 100644
index 000000000..7c12dfa18
--- /dev/null
+++ b/3838/CH2/EX2.20.D/EX2_20_D.sce
@@ -0,0 +1,6 @@
+//EXAMPLE 2.20.D
+clc;
+x1=100;
+x=integrate('t*cos(t)','t',0,x1);
+disp(x);
+disp('valid for t>=0');
diff --git a/3838/CH2/EX2.20.a/EX2_20_A.sce b/3838/CH2/EX2.20.a/EX2_20_A.sce
new file mode 100644
index 000000000..c2de27fef
--- /dev/null
+++ b/3838/CH2/EX2.20.a/EX2_20_A.sce
@@ -0,0 +1,6 @@
+//EXAMPLE 2.20.A
+clc;
+x1=100;
+x=integrate('2*1','t',0,x1);
+disp(x);
+disp('valid for t>=0');
diff --git a/3838/CH2/EX2.21.B/EX2_21_B.sce b/3838/CH2/EX2.21.B/EX2_21_B.sce
new file mode 100644
index 000000000..e00b4b96e
--- /dev/null
+++ b/3838/CH2/EX2.21.B/EX2_21_B.sce
@@ -0,0 +1,6 @@
+//EXAMPLE 2.21.B
+clc;
+x1=10;
+x=integrate('exp((-5)*t)','t',0,x1);
+disp(x)
+disp('valid for t>=0')
diff --git a/3838/CH2/EX2.21.C/EX2_21_c.sce b/3838/CH2/EX2.21.C/EX2_21_c.sce
new file mode 100644
index 000000000..dd13b09cb
--- /dev/null
+++ b/3838/CH2/EX2.21.C/EX2_21_c.sce
@@ -0,0 +1,6 @@
+//EXAMPLE 2.21.C
+clc;
+x1=10;
+x=integrate('1','t',-2,x1);
+disp(x)
+disp('valid for t<=2')
diff --git a/3838/CH2/EX2.21.D/EX2_21_d.sce b/3838/CH2/EX2.21.D/EX2_21_d.sce
new file mode 100644
index 000000000..0af8e06a6
--- /dev/null
+++ b/3838/CH2/EX2.21.D/EX2_21_d.sce
@@ -0,0 +1,6 @@
+//EXAMPLE 2.21.D
+clc;
+x1=10;
+x=integrate('1','t',2,x1);
+disp(x)
+disp('valid for t>=2')
diff --git a/3838/CH2/EX2.21.E/EX2_21_e.sce b/3838/CH2/EX2.21.E/EX2_21_e.sce
new file mode 100644
index 000000000..33b1bef93
--- /dev/null
+++ b/3838/CH2/EX2.21.E/EX2_21_e.sce
@@ -0,0 +1,9 @@
+//EXAMPLE 2.21.E
+clc;
+x1=100;
+x=integrate('1','t',-2,x1);
+y=integrate('1','t',2,x1);
+disp(x);
+disp('valid for t>=-2 to t<=2');
+disp(x+y);
+disp('valid for t>=2');
diff --git a/3838/CH2/EX2.21.a/EX2_21_A.sce b/3838/CH2/EX2.21.a/EX2_21_A.sce
new file mode 100644
index 000000000..a11aeea5a
--- /dev/null
+++ b/3838/CH2/EX2.21.a/EX2_21_A.sce
@@ -0,0 +1,6 @@
+//EXAMPLE 2.21.A
+clc;
+x1=100;
+x=integrate('3*t','t',0,x1);
+disp(x);
+disp('valid for t>=0');
diff --git a/3838/CH2/EX2.22.A/EX2_22_A.sce b/3838/CH2/EX2.22.A/EX2_22_A.sce
new file mode 100644
index 000000000..f36ff8523
--- /dev/null
+++ b/3838/CH2/EX2.22.A/EX2_22_A.sce
@@ -0,0 +1,19 @@
+//EXAMPLE 2.22.A
+clc;
+t=0:1:15;
+t2=0:0.1:15
+x1=exp((-3)*t2).*(t2>=0);
+x2=t.*(t>=0);
+subplot(3,1,1);plot(t2,x1);
+xlabel('t');ylabel('x1(t)');
+title('signal x1(t)');
+subplot(3,1,2);plot(t,x2);
+xlabel('t');ylabel('x2(t)');
+title('signal x2(t)');
+T1=length(x1);
+T2=length(x2);
+x3=convol(x1,x2);
+t1=0:1:T1+T2-2;
+subplot(3,1,3);plot(t1,x3);
+xlabel('t');ylabel('x3(t)');
+title('signal x3(t) =x1(t)*x2(t)');
diff --git a/3838/CH2/EX2.22.b/EX2_22_B.sce b/3838/CH2/EX2.22.b/EX2_22_B.sce
new file mode 100644
index 000000000..1beda96b5
--- /dev/null
+++ b/3838/CH2/EX2.22.b/EX2_22_B.sce
@@ -0,0 +1,20 @@
+//EXAMPLE 2.22.B
+clc;
+t=0:1:15;
+t2=0:0.1:15
+a=2;
+x1=exp(-a*t2).*(t2>=0);
+x2=t.*(t>=0);
+subplot(3,1,1);plot(t2,x1);
+xlabel('t');ylabel('x1(t)');
+title('signal x1(t)');
+subplot(3,1,2);plot(t,x2);
+xlabel('t');ylabel('x2(t)');
+title('signal x2(t)');
+T1=length(x1);
+T2=length(x2);
+x3=convol(x1,x2);
+t1=0:1:T1+T2-2;
+subplot(3,1,3);plot(t1,x3);
+xlabel('t');ylabel('x3(t)');
+title('signal x3(t) =x1(t)*x2(t)');
diff --git a/3838/CH2/EX2.3.C/EX2_3_c.sce b/3838/CH2/EX2.3.C/EX2_3_c.sce
new file mode 100644
index 000000000..77d02850c
--- /dev/null
+++ b/3838/CH2/EX2.3.C/EX2_3_c.sce
@@ -0,0 +1,12 @@
+clc;
+t=-12:0.01:12
+x=sin(2*t)+cos(t)+0.5*(sin(3*t)-sin(t))
+h=-sin(2*t)+cos(t)-0.5*(sin(3*t)-sin(t))
+e=cos(t)//(x+h)/2
+o=(x-h)/2//sin(t)+0.5*(sin(3*t)-sin(t))
+subplot(3,1,1)
+plot(t,e)
+xtitle('even signal')
+subplot(3,1,2)
+plot(t,o)
+xtitle('odd signal')
diff --git a/3838/CH2/EX2.3.a/EX2_3_a.sce b/3838/CH2/EX2.3.a/EX2_3_a.sce
new file mode 100644
index 000000000..d2bd8c466
--- /dev/null
+++ b/3838/CH2/EX2.3.a/EX2_3_a.sce
@@ -0,0 +1,25 @@
+//ex_2.3.a even and odd signals of x(t)
+clear;
+clc;
+close;
+t = 0:0.01:5;
+x=exp(t)
+figure
+a=gca();
+xtitle('x(t)')
+plot2d(t,x)
+figure
+a=gca();
+xtitle('even signal')
+plot2d(t,x/2)
+t1=-5:1/100:0;
+plot2d(t1,x($:-1:1)/2)
+a.y_location='origin'
+figure
+a=gca();
+xtitle('odd signal')
+plot2d(t,x/2)
+t1=-5:1/100:0;
+plot2d(t1,-x($:-1:1)/2)
+a.y_location='origin'
+a.x_location='origin'
diff --git a/3838/CH2/EX2.3.b/EX2_3_b.sce b/3838/CH2/EX2.3.b/EX2_3_b.sce
new file mode 100644
index 000000000..8ac66ece2
--- /dev/null
+++ b/3838/CH2/EX2.3.b/EX2_3_b.sce
@@ -0,0 +1,25 @@
+//ex_2.3.b even and odd signals of x(t)
+clear;
+clc;
+close;
+t = 0:0.01:5;
+x=3+(2*t)+5*((t)^2)
+figure
+a=gca();
+xtitle('x(t)')
+plot2d(t,x)
+figure
+a=gca();
+xtitle('even signal')
+plot2d(t,x/2)
+t1=-5:1/100:0;
+plot2d(t1,x($:-1:1)/2)
+a.y_location='origin'
+figure
+a=gca();
+xtitle('odd signal')
+plot2d(t,x/2)
+t1=-5:1/100:0;
+plot2d(t1,-x($:-1:1)/2)
+a.y_location='origin'
+a.x_location='origin'
diff --git a/3838/CH2/EX2.4.A/EX2_4_a.sce b/3838/CH2/EX2.4.A/EX2_4_a.sce
new file mode 100644
index 000000000..c65402068
--- /dev/null
+++ b/3838/CH2/EX2.4.A/EX2_4_a.sce
@@ -0,0 +1,7 @@
+//Example 2.4.a
+//Energy of the signal x(t)=(exp(-2*a*t)).u(t)
+clc;
+a=2;
+E=integrate('exp(-a*t)^(2)','t',0,100)//Energy of the given signal
+disp(E)
+disp('AS ENERGY OF THE GIVEN SIGNAL IS FINITE HENCE THE GIVEN SIGNAL IS ENERGY SIGNAL');
diff --git a/3838/CH2/EX2.4.b/EX2_4_b.sce b/3838/CH2/EX2.4.b/EX2_4_b.sce
new file mode 100644
index 000000000..9c13b1fd3
--- /dev/null
+++ b/3838/CH2/EX2.4.b/EX2_4_b.sce
@@ -0,0 +1,6 @@
+//Example 2.4.a
+//Energy of the signal x(t)=(exp(-2*a*t)).u(t)
+clc;
+P=integrate('1^(2)','t',(-100),100)/(2*100)//power of given signal t=100
+disp(P)
+disp('AS POWER OF THE GIVEN SIGNAL IS FINITE HENCE THE GIVEN SIGNAL IS POWER SIGNAL');
diff --git a/3838/CH2/EX2.4.c/EX2_4_c.sce b/3838/CH2/EX2.4.c/EX2_4_c.sce
new file mode 100644
index 000000000..f13fa451a
--- /dev/null
+++ b/3838/CH2/EX2.4.c/EX2_4_c.sce
@@ -0,0 +1,6 @@
+//Example 2.4.c
+clc;
+a=2;
+P=(integrate('(3*cos(0.1*(%pi)*t))^(2)','t',-100,100)/(2*100))//power of given signal t=100
+disp(P)
+disp('AS POWER OF THE GIVEN SIGNAL IS FINITE HENCE THE GIVEN SIGNAL IS POWER SIGNAL');