summaryrefslogtreecommitdiff
path: root/3293/CH3/EX3.15/Ex3_15.sce
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /3293/CH3/EX3.15/Ex3_15.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 '3293/CH3/EX3.15/Ex3_15.sce')
-rwxr-xr-x3293/CH3/EX3.15/Ex3_15.sce20
1 files changed, 20 insertions, 0 deletions
diff --git a/3293/CH3/EX3.15/Ex3_15.sce b/3293/CH3/EX3.15/Ex3_15.sce
new file mode 100755
index 000000000..0237cc05a
--- /dev/null
+++ b/3293/CH3/EX3.15/Ex3_15.sce
@@ -0,0 +1,20 @@
+//page 89
+//Example 3.15
+clc;
+clear;
+close;
+disp('Differentiation operator D is defined as:');
+D = zeros(4,4);
+x = poly(0,"x");
+for i= 1:4
+ t= i-1;
+ f = derivat(x^t);
+ printf('(Df%d)(x) = ',i);
+ disp(f);
+ if ~(i == 1) then
+ D(i-1,i) = i-1;
+ end
+end
+disp('Matrix of D in ordered basis is:');
+disp(D,'[D] = ');
+//end