disp (' The minimum deflection of the spring when external load is not considered'); disp (dely) disp('The minimum values of K for every layer when external load is not considered'); disp (kk) disp ('The minimum deflection of the spring when external load is considered'); disp (ndely) disp ('The minimum value of K for every layer when external load is considered'); disp (nk) disp ('The total deflection of spring when the system is fully stowed'); disp (YD) disp ('The total length of spring '); disp (LS) PROG2M %Calculation of the total time taken to deploy a level % 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 '); 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 2) .5;