%% Example of Basic Script file
% Lisa Oberbroeckling, Spring 2012
clc
x=linspace(-pi,pi);
y=sin(x);
plot(x,y)
%% second problem
A=[1 2 3;4 5 6;7 8 9];
B=[A(1,:); -4*A(1,:) + A(2,:); A(3,:)]
B2=[B(1,:); B(2,:); -7*B(1,:) + B(3,:)]
C=[B2(1,:); -1/3*B2(2,:); B2(3,:)]