A mass hangs from a light

PHYSICS · Subjective · Fermi University Physics · Mathematical Methods for Physics · Numerical and computational mathematics

Computational Physics, Ch Finding the best parameters: minimisation and fitting

Problem

A mass m=2.0 kgm=2.0\,\mathrm{kg} hangs from a light, ideal spring of stiffness k=50 N m−1k=50\,\mathrm{N\,m^{-1}}, with xx the downward extension from the spring's natural length. Air resistance and the spring's own mass are ignored. The energy of the mass, taking the gravitational potential energy reference at x=0x=0, is E(x)=12kx2−mgx,E(x)=\tfrac12 kx^2 - mgx, with g=9.8 m s−2g=9.8\,\mathrm{m\,s^{-2}}. (a) Find the exact equilibrium extension x∗x^* by setting dE/dx=0\mathrm{d}E/\mathrm{d}x=0. (b) E(x)E(x) is minimised numerically over the bracket x∈[0,1] mx\in[0,1]\,\mathrm{m} (width W0=1.0 mW_0=1.0\,\mathrm{m}) by golden-section search, which after its two starting evaluations shrinks the bracket by a factor of 0.6180.618 at every further function evaluation. How many of those further evaluations are needed to shrink the bracket to a width below 1.0 mm1.0\,\mathrm{mm}?

Browse the problem library