936 views
2 votes
The software for an elevator uses a variable, called level, to track the floor number of the elevator's current position. When a person presses a button indicating that the elevator should rise to a higher floor, the following goUp procedure is invoked with the desired number of floors to climb provided as a parameter.

Procedure goUP {floors}
Repeat Floors times
IF [level < 9]
level <--- level +1
ELSE
display [cannot go up]
DISPLAY "level "+ Level

User Jamil
by
7.3k points

2 Answers

2 votes

Final answer:

When the elevator reaches a constant upward velocity, the scale reading will be equal to the person's weight.

Step-by-step explanation:

When the elevator reaches a constant upward velocity, the scale reading will be equal to the person's weight. This is because at a constant velocity, the acceleration is zero, which means that the net force on the person is zero. So the scale will read the person's weight, which is the force exerted on the scale.

User Prostakov
by
7.4k points
2 votes
……………………………………………. lol help
User Gordak
by
8.9k points