summaryrefslogtreecommitdiff
path: root/162/CH6/EX6.14.c/example614c.sce
diff options
context:
space:
mode:
Diffstat (limited to '162/CH6/EX6.14.c/example614c.sce')
-rwxr-xr-x162/CH6/EX6.14.c/example614c.sce9
1 files changed, 9 insertions, 0 deletions
diff --git a/162/CH6/EX6.14.c/example614c.sce b/162/CH6/EX6.14.c/example614c.sce
new file mode 100755
index 000000000..10ebb757f
--- /dev/null
+++ b/162/CH6/EX6.14.c/example614c.sce
@@ -0,0 +1,9 @@
+//Example 6.14c
+clc;
+syms z n;
+x1=(1/4)^n;
+x2=(1/5)^n;
+X1=symsum(x1*(z^-n),n,0,%inf);
+X2=symsum(x2*(z^-n),n,-%inf,-1);
+X=X1+X2;
+disp(X,'X(z)='); \ No newline at end of file