close all
clear all

l = 8;
F2 = 1500; %lbs

A(1,2) = 1;
A(1,3) = 0;
A(2,1) = sin(-20*pi/180);
A(2,2) = 0;
A(2,3) = 1;
A(3,1) = l*cos(58*pi/180);
A(3,2) = l*cos(66*pi/180);
A(3,3) = 0;
B = [-F2*cos(-35*pi/180) ; -F2*sin(-35*pi/180) ; 0];
x = A\B;

disp(['F2 = ' num2str(F2,4) ' lbs']);
disp(['F1 = ' num2str(x(1),4) ' lbs']);
disp(['Rx = ' num2str(x(2),4) ' lbs']);
disp(['Ry = ' num2str(x(3),4) ' lbs']);

Rmag = sqrt(x(2)^2+x(3)^2);
disp(['Rmag = ' num2str(Rmag,4) ' lbs']);
