summaryrefslogtreecommitdiff
path: root/3838/CH7
diff options
context:
space:
mode:
Diffstat (limited to '3838/CH7')
-rw-r--r--3838/CH7/EX7.2.A/EX7_2_A.sce6
-rw-r--r--3838/CH7/EX7.2.B/EX7_2_B.sce6
-rw-r--r--3838/CH7/EX7.2.c/EX7_2_C.sce6
-rw-r--r--3838/CH7/EX7.2.d/EX7_2_D.sce8
4 files changed, 26 insertions, 0 deletions
diff --git a/3838/CH7/EX7.2.A/EX7_2_A.sce b/3838/CH7/EX7.2.A/EX7_2_A.sce
new file mode 100644
index 000000000..fe8acb2f1
--- /dev/null
+++ b/3838/CH7/EX7.2.A/EX7_2_A.sce
@@ -0,0 +1,6 @@
+//Example 7.2.A
+clc;
+syms a z n;
+x=1;
+X=symsum(x*(z^-n),n,0,%inf);
+disp(X,'X(z)=');
diff --git a/3838/CH7/EX7.2.B/EX7_2_B.sce b/3838/CH7/EX7.2.B/EX7_2_B.sce
new file mode 100644
index 000000000..c3d0f4822
--- /dev/null
+++ b/3838/CH7/EX7.2.B/EX7_2_B.sce
@@ -0,0 +1,6 @@
+//Example 7.2.B
+clc;
+syms a z n;
+x=(0.5)^(n);
+X=symsum(x*(z^-n),n,0,%inf);
+disp(X,'X(z)=');
diff --git a/3838/CH7/EX7.2.c/EX7_2_C.sce b/3838/CH7/EX7.2.c/EX7_2_C.sce
new file mode 100644
index 000000000..7c82cbd83
--- /dev/null
+++ b/3838/CH7/EX7.2.c/EX7_2_C.sce
@@ -0,0 +1,6 @@
+//Example 7.2.C
+clc;
+syms a z n;
+x=0.8^(n);
+X=symsum(x*(z^-n),n,-(%inf),-1);
+disp(X,'X(z)=');
diff --git a/3838/CH7/EX7.2.d/EX7_2_D.sce b/3838/CH7/EX7.2.d/EX7_2_D.sce
new file mode 100644
index 000000000..2264d412b
--- /dev/null
+++ b/3838/CH7/EX7.2.d/EX7_2_D.sce
@@ -0,0 +1,8 @@
+//Example 7.2.D
+clc;
+syms a z n;
+x=(0.5)^(n);
+X=symsum(x*(z^-n),n,0,%inf);
+d=0.8^(n);
+D=symsum(d*(z^-n),n,-(%inf),-1);
+disp(D+X,'X(z)=');