Abstract
We discuss a system comprising a cavity with a nonlinear medium of k-order and an external coherent field excitation. We assume that the cavity field was initially in vacuum state. We show that for the case of weak external field our system behaves similarly to one described in finite-dimensional Hilbert space. Moreover, we perform numerical calculations simulating the dynamics of our system and compare the results with those of analytical attempts.