How to find undetermined coefficients using initial conditions?
4 visualizaciones (últimos 30 días)
Mostrar comentarios más antiguos
Hi, I would like to solve a differential equation something like y=exp(-t)*(c1(cos(w*t)+c2*sin(w*t))).
I have initial conditions as y(0) = 0, and y'(0) = 0.
Using these initial conditions, how can I get the c1 and c2, which are undetermined coefficients? It's pretty straightforward by hand, but it's tricky to code.
Thank you in advance.
2 comentarios
John D'Errico
el 31 de En. de 2017
Editada: John D'Errico
el 31 de En. de 2017
Um, that is not a differential equation.
And why is it tricky to code? What have you tried? Show that you are making an effort, and you are more likely to get help. For example, how might you use solve to find the solution?
Respuestas (0)
Ver también
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!