Text this: Analysis on an edge-emitting laser diode