Predictions of entropy for diatomic molecules and gaseous substances