summaryrefslogtreecommitdiff
path: root/3838/CH7
diff options
context:
space:
mode:
authorprashantsinalkar2017-10-10 12:27:19 +0530
committerprashantsinalkar2017-10-10 12:27:19 +0530
commit7f60ea012dd2524dae921a2a35adbf7ef21f2bb6 (patch)
treedbb9e3ddb5fc829e7c5c7e6be99b2c4ba356132c /3838/CH7
parentb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (diff)
downloadScilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.gz
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.tar.bz2
Scilab-TBC-Uploads-7f60ea012dd2524dae921a2a35adbf7ef21f2bb6.zip
initial commit / add all books
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)=');