Calculating mean


https://x.thunkable.com/copy/2bbec9cc1e7df9ee8f14739e80e5a532

I made a count variable which increases by 1 every turn. Average value is set to 0, it increases by current speed every turn and is divided by the count. I thought this should work but in practice the average value is always too low.

I can consistently have 5 km/h for current speed every turn (0.6 seconds) and average will vary around 1-2. Any idea whats the problem and how I could fix this?

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.