Artificial intelligent assistant

Why does integration of acceleration data create a slope? I created a 100hz sine wave in code. When I graph the waveform I get this: !Raw waveform When I do an integration on this pure sine wave to get a velocity waveform I get: !Integrated waveform Is this normal? I do not have a math background but I am trying to understand this.

Your velocity function looks something like $v(t)=-\cos(t)-at+C$. Deriving that to get back to acceleration would give you $a(t)=\sin(t)-a$. If your original acceleration function is exactly centered around the $x$-axis, then $a$ should be $0$ and your velocity function wouldn't slope downwards. Computer precision error?

xcX3v84RxoQ-4GxG32940ukFUIEgYdPy 67077774585351da3667f7f779f800fa