Text this: Accelerometer application mathematical model