Hi! Does any one knows a function or a way to return the argument of a sinusoidal function? I have the following code and wanted to operate on the argument of the cosinus function.
# upchirp carrier var('t, phi_0, omega_0, omega_1, T') k = (omega_1 - omega_0)/T; k # linear chirp signal (waveform) s1 = cos(phi_0 + k*t^2/2 + omega_0*t); s1 arg(s1) omega = derivative(arg(s1), t); omega Sagemath returns: (t, phi_0, omega_0, omega_1, T)-(omega_0 - omega_1)/Tcos(omega_0*t - 1/2*(omega_0 - omega_1)*t^2/T + phi_0) arg(cos(omega_0*t - 1/2*(omega_0 - omega_1)*t^2/T + phi_0)) -(omega_0 - (omega_0 - omega_1)*t/T)*sin(omega_0*t - 1/2*(omega_0 - omega_1)*t^2/T + phi_0)*D[0](arg)(cos(omega_0*t - 1/2*(omega_0 - omega_1)*t^2/T + phi_0)) Cordially, Joao -- You received this message because you are subscribed to the Google Groups "sage-support" group. To unsubscribe from this group and stop receiving emails from it, send an email to sage-support+unsubscr...@googlegroups.com. To post to this group, send email to sage-support@googlegroups.com. Visit this group at https://groups.google.com/group/sage-support. For more options, visit https://groups.google.com/d/optout.