summaryrefslogtreecommitdiff
path: root/67/CH7/EX7.48.b/example748b.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /67/CH7/EX7.48.b/example748b.sce
downloadScilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.gz
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.tar.bz2
Scilab-TBC-Uploads-b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b.zip
initial commit / add all books
Diffstat (limited to '67/CH7/EX7.48.b/example748b.sce')
-rwxr-xr-x67/CH7/EX7.48.b/example748b.sce8
1 files changed, 8 insertions, 0 deletions
diff --git a/67/CH7/EX7.48.b/example748b.sce b/67/CH7/EX7.48.b/example748b.sce
new file mode 100755
index 000000000..2035aa56e
--- /dev/null
+++ b/67/CH7/EX7.48.b/example748b.sce
@@ -0,0 +1,8 @@
+//Example 7.48b
+clc;
+syms z n;
+x1=(-1/2)^n;
+X1=symsum(x1*(z^-n),n,0,%inf);
+x2=(3)^n;
+X2=symsum(x2*(z^-n),n,-%inf,-1);
+X=(3*X1)-(2*X2); \ No newline at end of file