Thanks Matematikawan.
Right now, I have a separate file named "Prob_52" that has the function and then a file with:
[t,y] = ode45 (@prob_52,[0,1],0)
plot (t,y)
xlabel ('Time')
ylabel ('Function Value')
My professor is unable to run it, which makes it a fail. I'm wondering if this is because...
Matlab ODE45 Help??
function dy = prob_52 (t,y)
dy = cos(y) - (sin (t)*y);
[t,y] = ode45 (@prob_52,[0,1],0)
plot (t,y)
xlabel ('Time')
ylabel ('Function Value')
I was told my code is incorrect. Does anyone have suggestions on where I'm going wrong?
Thanks
Final exams -- need help with study schedule
Hi all. I am a 2nd year ChE major. I've done pretty well in my gen physics, chem, calc courses and have almost all of my humanities done. This semester I'm taking Thermodynamics, Organic Chem, Linear algebra, and a history course. I'm also working in...