function [Ll EAu EAl] = ComputeUnstrechedLowerLength(W_weight,Ku,Kl,Lu,d,dt,h)
%UNTITLED3 Summary of this function goes here
% Computes neccessary unstretched lower segment length to position mass at
% target depth (dt), based upon specified spring constants (Ku, Kl), 
% mass length (h), and depth (d). 
Ll = (Kl*(d-dt-h/2)-W_weight-Ku*(dt-h/2-Lu))/Kl;

EAu = Ku*Lu;
EAl= Kl*Ll;

end

