Existence of solutions for a finite nonlinearly hyperelastic rod