Julia Efield calculation ina cavity