An analytical model for longitudinally pumped continuous‐wave laser