Solving second order differential equation with initial conditions and plotting
Afficher commentaires plus anciens
I am trying to solve using the dsolve function:
D^2y/dt + p(dy/dt) + 2y = cos(w*t) with the conditions y(0) = 0 and y'(0) = 0
Assuming p = 0 and w cannot be 0.
Also how would I go about plotting the solutions of y(t) vs t for different values of w such as 0.5,0.6,0.7,0.8,0.9 and 0.95
How do I go about doing this?
1 commentaire
Vaibhav Awale
le 7 Mar 2016
The question is already answered in the following post:
Réponses (0)
Catégories
En savoir plus sur Electromagnetics dans Centre d'aide et File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!