No BSD License  

Highlights from
MATLAB for Engineers

from MATLAB for Engineers by Adrian Biran
Companion Software

crane.m
%CRANE Data for Example 3.3 and Exercise  3.9, Crane stability.

P = 17;                                         % crane load, kN
% Following are the data in Table 3.5.
weights = [ 42.18 33.35 9.81 2.35 ];            % kN
cg = [  0.89  0.90  1.70                        % m
        0.00  0.90  2.20
        4.70  0.90  3.70
        4.20  0.90  2.20 ];

% Following are the data in Table 3.6.
weights1 = [ 42.18 33.35 9.81 0.78  0.78 ];     % kN
cg1 = [  0.89  0.90  1.70                       % m
        0.00  0.90  2.20
        0.00  4.40  6.50
        2.35  1.40  2.20
        0.00  0.00  2.50 ];
% Following are the data for Exercise 3.3.
weights2 = [ 42.18 33.35 9.81 0.78  0.78 ];     % kN
cg2 = [  0.89  0.00  1.70                       % m
        0.00  0.00  2.20
       -3.60  0.00  6.50
        2.35  0.60  2.20
        1.30  0.00  2.50 ];

Contact us at files@mathworks.com