(b)
Judgment. Judgment by default may be entered as follows:
In all cases the party entitled to a judgment by default shall apply to the court therefor.
When the plaintiff’s claim against a defendant is for a sum certain or for a sum which can by computation be made certain, the court upon request of the plaintiff and upon affidavit of the amount due shall enter judgment for that amount against the defendant, if the defendant has been defaulted for failure to appear and is not an infant or incompetent person.
If the party against whom judgment by default is sought has appeared in the action, the party (or, if appearing by representative, the party’s representative) shall be served with 10-days written notice of the application for judgment. If, in order to enable the court to enter judgment or to carry it into effect, it is necessary to take an account or to determine the amount of damages or to establish the truth of any averment by evidence or to make an investigation of any other matter, the court may conduct such hearings or order such references as it deems necessary and proper and shall accord a right of trial by jury to the parties when and as required by any statute of the United States.