More on coding the normal force.
In this code I have added a slider to change the value of the acceleration of the floor.
Think of the floor of an elevator.
A positive acceleration indicates that the elevator is accelerating upwards and a negative acceleration indicates a downward acceleration.
Press the play button to start the program and then the pencil button to examine the code
5Dec