Step-by-step explanation:
For 787 dreamliner airplane,
Mass,

Height,

Potential energy of 787 dreamliner airplane is given by :

For a boeing 747,
Mass,

Height,

:
Potential energy of a boeing 747 airplane is given by

So, the potential energy of a boeing 747 airplane is more than the 787 dreamliner airplane.