tt(j)=t(j); vv(j) = (xx(j)-xx(j 1))/tt(j); aa(j )= (vv(j)-vv(j 1 ))/tt(j); end %RESULTS plot (x, vv, 'r') hold on plot (x, v, 'b') disp ('Maximum velocity of the system'); disp (max (vv)) disp ('Maximum acceleration of the system'); disp (max(aa)) disp ('Total time taken to deploy the layer'); disp (T) PROG1M % Calculation of minimum deflection and minimum stiffness H = input ('Input the total deployed height of the structure '); L = input ('Input the length of each rectangular plate '); HL = input ('Input the height of every layer '); mp = input ('Mass of the plate used '); mts = input ('Mass of the top strut '); mbs = input ('Mass of the bottom strut '); fxd = input ('Maximum external force applied on the structure in the (-x) direction '); xd = input ('Position of the plate after which the system is self deployable '); N =H / HL; C =3 (N+1); HY =(2*LA2) .5;