No BSD License  

Highlights from
MATLAB for Engineers

from MATLAB for Engineers by Adrian Biran
Companion Software

exer6_08.m
%EXER6_08       Solves Exercise 6.8, Shaping a mooring line.
%       Assumes that you installed the function SIND.


Bf = 10;        % buoyancy force, kN
A  = [ sind(20) 0 0; -cosd(20) cosd(10) 0;
 sind(20) -sind(10) -1 ];
B  = [ Bf/2; 0; 0 ]; X = A\B

% The equilibrium of the external forces is verified with

Bf = Bf*[ cosd(90) sind(90) ];
W  = X(3)*[ cosd(-90) sind(-90) ];
T2right = X(2)*[ cosd(-10) sind(-10) ];
T2left  = X(2)*[ cosd(190) sind(190) ];
Bf + 2*W + T2right + T2left

Contact us at files@mathworks.com