summaryrefslogtreecommitdiff
path: root/62/CH7/EX7.49
diff options
context:
space:
mode:
authorpriyanka2015-06-24 15:03:17 +0530
committerpriyanka2015-06-24 15:03:17 +0530
commitb1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b (patch)
treeab291cffc65280e58ac82470ba63fbcca7805165 /62/CH7/EX7.49
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 '62/CH7/EX7.49')
-rwxr-xr-x62/CH7/EX7.49/ex_7_49.sce12
1 files changed, 12 insertions, 0 deletions
diff --git a/62/CH7/EX7.49/ex_7_49.sce b/62/CH7/EX7.49/ex_7_49.sce
new file mode 100755
index 000000000..c290815ac
--- /dev/null
+++ b/62/CH7/EX7.49/ex_7_49.sce
@@ -0,0 +1,12 @@
+clc;
+A=[-2 1;1 -2];
+q0=[.5;1];
+//Q=e^(A*t)*q0+integ(e^A*(t-T)*b*x,T,t0,t)
+X=0;
+//therefore integ term is zero
+e=spec(A);//eigen values
+b0=e(1)*%e^(e(2)*t)-e(2)*%e^(e(1)*t);
+b1=%e^(e(1)*t)-%e^(e(2)*t);
+eAt=b0*eye(A)+b1*A;
+Q=eAt*q0;
+disp(Q,"thus [vc1(t) vc2(t)]="); \ No newline at end of file