This is the derivation of bernoullis equation...