Using the ODE45 Function in the program Matlab how would you

Using the ODE45 Function in the program Matlab, how would you determine the value of the dependent variable at some value of time?

Solution

write

tspan=[0 20]
y0=[2 0]
[t,y]=ode45[@objectivefun,tspan,y0]

where y will give the dependant variable function values and t is independant variable obj fun has terms like d^2t/dx^2 dt/dx......

Using the ODE45 Function in the program Matlab, how would you determine the value of the dependent variable at some value of time?Solutionwrite tspan=[0 20] y0=

Get Help Now

Submit a Take Down Notice

Tutor
Tutor: Dr Jack
Most rated tutor on our site