#include #include int main () { double pos[40]; double vit[40]; double posv = 1.0; for (int i=0; i