Given: dy/dt +3y = 2 Solve this differential equation by hand Create an m- file
ID: 1721484 • Letter: G
Question
Given: dy/dt +3y = 2 Solve this differential equation by hand Create an m- file with the following text in it and save it as to your personal space. Notice that your personal space may not be in the search path of Matlab (e.g. to set floppy drive to the search path, you should type: path(path,'a:')). Type ode 1 in the Matlab window (a plot should appear) Compare the plotted results with your solution by hand (or better yet plot your solution using Matlab with part I procedure) Change the initial condition c, save the file and rerun Chance the value of d and rerun.Explanation / Answer
ans: given diferential equation Dy+3y=2.
first order linear differential equation.
y= yc+yp
clearly yc= ce-3t and yp = 2/3.
Related Questions
Hire Me For All Your Tutoring Needs
Integrity-first tutoring: clear explanations, guidance, and feedback.
Drop an Email at
drjack9650@gmail.com
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.