From b1f5c3f8d6671b4331cef1dcebdf63b7a43a3a2b Mon Sep 17 00:00:00 2001 From: priyanka Date: Wed, 24 Jun 2015 15:03:17 +0530 Subject: initial commit / add all books --- 3293/CH3/EX3.16/Ex3_16.sce | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100755 3293/CH3/EX3.16/Ex3_16.sce (limited to '3293/CH3/EX3.16/Ex3_16.sce') diff --git a/3293/CH3/EX3.16/Ex3_16.sce b/3293/CH3/EX3.16/Ex3_16.sce new file mode 100755 index 000000000..9f7137d4b --- /dev/null +++ b/3293/CH3/EX3.16/Ex3_16.sce @@ -0,0 +1,21 @@ +//page 92 +//Example 3.16 +clc; +clear; +close; +disp('T is a linear operator on R^2 defined as T(x1,x2) = (x1,0)'); +disp('So, the matrix T in standard ordered basis B = {e1,e2} is '); +T = [1 0 ;0 0]; +disp(T,'[T]B = '); +disp('Let B'' is the ordered basis for R^2 consisting of vectors:'); +E1 = [1 1]; +E2 = [2 1]; +disp(E1,'E1 = '); +disp(E2,'E2 = '); +P = [E1;E2]' +disp(P,'So, matrix P = '); +Pinv = inv(P); +disp(Pinv,'P inverse = '); +T1 = Pinv*T*P; +disp(T1,'So, matrix T in ordered basis B'' is [T]B'' = '); +//end -- cgit