summaryrefslogtreecommitdiff
path: root/3838/CH7/EX7.2.d/EX7_2_D.sce
diff options
context:
space:
mode:
Diffstat (limited to '3838/CH7/EX7.2.d/EX7_2_D.sce')
-rw-r--r--3838/CH7/EX7.2.d/EX7_2_D.sce8
1 files changed, 8 insertions, 0 deletions
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)=');