disp ('The total length of spring '); disp (LS) PROG2T %Calculation of the total time taken to deploy a layer % User-defined inputs: LL = input ('Input the total deployed length of the structure '); L = input ('Input the height of the structure '); mc = input ('Mass of the plate used '); mts = input ('Mass of the top strut '); mu = input ('co-efficient of friction between plate and ground '); 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 '); % Calculation of variables used in the equations below N =LL / L; c =N+1; h =(2* L2) .5; m= mc 9.81; dely = .1514; fr= m* mu wts = mts 9.81; %Constants: x(1)=0; a(1)=0; t( 1 )=0;