measure velocity

jremington:
Accelerometers measure acceleration and can't be used to measure velocity.

You can find the velocity by integration.

You can use an op-amp configured as an integrator, but the results are poor due to the deficiencies found in real op-amps.
By performing a second integration you can measure distance.

Also swimmers only accelerate for a short while. They soon reach their maximum velocity - acceleration will then be zero.