  Proton and neutron separation energies have been calculated using the
extended Bethe-Weizsacker mass formula. This modified Bethe-Weizsacker mass
formula describes minutely the positions of all the old and the new magic
numbers. It accounts for the disappearance of some traditional magic numbers
for neutrons and provides extra stability for some new neutron numbers. The
neutron and proton drip lines have been predicted using this extended
Bethe-Weizsacker mass formula. The implications of the proton drip line on the
astrophysical rp-process and of the neutron drip line on the astrophysical
r-process have been discussed.
