% cs3113f08HW01P01.m
% K. Ming Leung, September 21, 2008
% 5 points total.

clear;
F1 = [ -3; 1; 2 ];
F2 = [ 1; -2; 1 ];  % column vectors: 1 pt
% total force is:
Fnet = F1 + F2 % use matrix addition: 2 pts
magnitude = sqrt(transpose(Fnet)*Fnet) % 2 pts
% cannot use norm.

% RESULTS:
% Fnet =
% 
%     -2
%     -1
%      3
% 
% manitude =
% 
%     3.7417
% 
