mbs = input ('Mass of the bottom strut '); xd = input ('Position of the plate after which the system is self deployable'); k = input ('Stiffness of the spring '); jj =input ('The layer to which the spring belongs '); dely = input ('The minimum deflection of the spring '); N= LL/L; c= 3 (N + 1); h= (2 L A2) .5; wp= mc 9.81; wts= mts 9.81; ws= (mts+mbs) 9.81; %Constants: x (1)= 0; a (1)= 0; t(1) 0; v (1)=0; % Initial conditions: x (2) = xd; a (2) = ((((( 6 k (h (((x(2) ^2)+(L A2)) A.5) + dely)* (cos ((atan (L/x(2))))))) (3 * wp *jj ) -( 6 ws (jj 1 )))- ( 6 wts .5 (sin(( ( 2 atan (L/x(2))))))))/ ((3 mc * jj ) + ( 6 (mbs + mts) (jj 1)))); t(2)=0.0001; av(2)= a(2)/ 2; v(2)=av (2) *t(2); T(1)= 0; T(2)= 0; for i= 3 :(( (L-xd )/.01)+1)