Info
This question is closed. Reopen it to edit or answer.
I want to put this equation in MATLAB and write a report about it, I will need at least one graph, can anyone please give me with the code to do so?
1 view (last 30 days)
Show older comments
2(y-1)y’ = 3t^2 + 4x + 2
y(0)= -1
5 Comments
Answers (1)
madhan ravi
on 6 Jul 2018
Edited: Walter Roberson
on 6 Jul 2018
syms y(t)
ode=2*(y-1)*diff(y)==3*t.^2+4*t+2
cond=y(0)==-1;
y(t)=dsolve(ode,cond)
fplot(y(t))
1 Comment
See Also
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!