Tonks-Langmuir problem for a bi-Maxwellian plasma