Theoretical cutoff frequencies in optical fiber using a variational technique