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 --- 70/CH3/EX3.4.1/3_4_1.sci | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100755 70/CH3/EX3.4.1/3_4_1.sci (limited to '70/CH3/EX3.4.1') diff --git a/70/CH3/EX3.4.1/3_4_1.sci b/70/CH3/EX3.4.1/3_4_1.sci new file mode 100755 index 000000000..3b9c0e549 --- /dev/null +++ b/70/CH3/EX3.4.1/3_4_1.sci @@ -0,0 +1,10 @@ +//page 175 +clear; +close; +clc; +thetha=45;//Taking some value for thetha. +Q=[cos(thetha) -sin(thetha);sin(thetha) cos(thetha)]; +disp(Q,'Q='); +disp(Q','Q''=inv(Q)='); +disp('Q rotates every vector through an angle thetha, and Q'' rotates it back through -thetha.The columns are clearly orthogonal and they are orthonormal because sin^2(theta)+cos^2(thetha)=1.'); +//end -- cgit