IMU calculating velocity

I’m not sure how that helps my issue
The variable constant is a float and gives me a value to 15 d.p

I understand the code isn’t perfect but this is not the issue I need help with, I need help with calculating the velocity