xx(j)=2*x(j); tt(j)=t(j); vv(j) = (xx(j)-xx(j 1))/tt(j); aa(j)= (vv(j)-vv(j 1))/tt(j); end % Results disp ('Maximum velocity of the layer'); disp (max ( v )) disp ('Maximum acceleration of the layer'); disp (max ( av)) disp ('Total time taken to deploy the layer'); disp (T) PROG3T %Altering the stiffness value % 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 '); GT = input (' The time within which the layer should deploy '); % Calculation of variables used in the equations below