how to slove following ode in matlab?

3 views (last 30 days)
Ali Raza
Ali Raza on 21 Oct 2020
Commented: Walter Roberson on 26 Oct 2020
can anybody solve this equations in matlab every thing is given just tell me how to slove in matlab
  5 Comments
Ali Raza
Ali Raza on 26 Oct 2020
i cnt understand that kindly can you write in matlab ?
Walter Roberson
Walter Roberson on 26 Oct 2020
No. I cannot read the expressions clearly, and I do not have enough information about what the symbols represent.
I also do not know if you have access to the Symbolic Toolbox.
I pointed you to a specific example of using the Symbolic Toolbox to convert multivariate systems of differential equations into an anonymous function handle that can be used by ode45() . You should be able to proceed from there, with just the additional hint:
syms f(x) y
Dx = diff(f, x);
eqn = Dx == x^2 + y
condition = Dx(0) == 1 %f'(0) = 1 boundary condition

Sign in to comment.

Answers (0)

Tags

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!