simplified example - minus acceleremoter reading