simple data processing for my physics lesson