//Example 16.1 x=-1.20*10^-2;//Displacement (m) m=80;//Mass of the person (kg) g=9.80;//Acceleration due to gravity (m/s^2) w=m*g;//Weight of the man (N) F=w;//Force (N) k=-F/x;//Force constant (N/m) printf('The force constant of the suspension system = %0.2e N/m',k) //Openstax - College Physics //Download for free at http://cnx.org/content/col11406/latest