Relation between AM,GM,HM for 2 numbers