Taking an elevator up to the top floor of a building, or taking the stairs up to the top floor of the same building would result in same change in gravitational potential energy.
U = m g h
U = Gravitational potential energy
m = Mass
g = Acceleration due to gravity
h = Height
U ∝ h
ΔU ∝ Δh
For an object only its height from the ground is dependent upon Gravitational potential energy. Since you are reaching the same height no matter walking or taking an elevator, your Gravitational potential energy will remain the same.
Therefore, taking an elevator up to the top floor of a building, or taking the stairs up to the top floor of the same building would result in same change in gravitational potential energy.
To know more about gravitational potential energy
brainly.com/question/19768887
#SPJ4