physics using simple functions | ScratchStats