Text this: An inverse mode problem for the continuous beam.