The entanglement degree is investigated by means of the entropy theory between a two-level atom and a coherent field with varying frequency via two-photon transition. We restrict our attention to two cases, the field frequency varying with time in the forms of sine and rectangle. When the field frequency varies with time in the form of sine, the entanglement degree will increase sharply and maintain high values. By changing the amplitude a and angular frequency P of the field-frequency variation respectively, we find that the evolution process is more sensitive to the former. In the rectangular modulation case, different results will be produced when the pulses appear at different time. Comparing the pulses appearing at every minimum value with that at every maximum value, the entanglement degree will increase and reach stability more quickly and easily in the lattev case. The sudden change caused by the rectangular modulation is particularly beneficias to the control of the value of the field entropy.