Text this: Theoretical analysis of a double stages erbiumdoped fiber amplifier