% Problem 5:
% A spider with a mass of m=2\ldotp 32*{10}^{-5}kg, hangs motionless from three stands of web. One strand is vertical, and the other two each make an angle of θ=15.2 degrees with the horizontal ceiling, as shown in the diagram. Let T_v be the tension in the vertical strand of the web, and let T_O be the tension in either of the other strands. In numeric responses, use 9\ldotp 81\;\frac{m}{s^2 } for the acceleration due to gravity.
%
% Write an expression for the tension in the vertical strand, T_v.
% T_v =\mathrm{mg}
% What is the numeric value, in newtons, of the tension in the vertical strand, T_v?

theta = deg2rad(15.2)
m = 2.32.*10.^-5
a = 9.81
TensionVert = m.*a

% Write an expression for the tension in a strand that attaches to the celing, T_o.
% T_0 =\frac{m*g}{2\sin \left(\theta \right)}
% What is the numerical vaule, in newtons (N), of the tension T_O?

TensionO = (TensionVert/(2.*sin(theta)))

%