# How to get amplitude and phase

hello,
if I have a sinusoidal signal that has changing amplitude and phase with respect to time, how can I find the amplitude and phase with respect to time?

So given x(t) the probem is to find a(t) and p(t)?

Thanks.