MATLAB Answers


This question is closed.


Differential equation(1st order)

Asked by Takey Asaad on 16 Sep 2018 at 13:41
Latest activity Closed by Walter Roberson
on 16 Sep 2018 at 18:53

my function is


k is constant and y(0)=40 and y(15)=95 solve this equation by using ode45 can someone pleaseeeeeeeeeee check the code and make it work .

tspan = [0 300]; y0 = 40;y15=95 [t,y] = ode45(@(t,y) 'k'*y*exp(450/y), tspan, y0,y15); plot(t,y,'-o')


How is this question different from this one: (which is answered already)?

is not answered

If the answers you got are not helpful for you leave a comment to the answer.

Do not ask the same question again - usually duplicates will be closed by the contributers.

Sign in to comment.

0 Answers