A. Following the adjudication, the court may order such physical and mental examination and evaluation of the child and his parents as may be helpful in determining a fair and just disposition.B. After giving the parent a reasonable opportunity to be heard, the court may order that such parent shall contribute to the cost of the examination or evaluation in an amount commensurate with the parent’s ability to pay.