i am a university student that is having problem with one of my projects. my project is about the acceleration and deceleration of a input output machine. my lecturer asked me to do the coding for the so that any machine can use it. the problem is that i have very little experience in c code and the challenging part is that it acceleration and deceleration depends on d mass of the object. that means the speed should change according to the mass. i googled it and the one which came out is the sensors and nothing about the code that has been done but my lecturer says that such codes exist and sensors are just shortcuts. i really need help with this.