Quindi anche il programma

http://www.dmi.unict.it/~santoro/tea.../massa_molla.c

...