I have a system can be described by the second order differential equation in 1, where h is the convective heat transfer coefficient, p is the perimeter (circumference) of the pin, k is the conductive heat transfer coefficient and Ac is the cross-sectional area.
I want to develop a numerical model by applying both a third order Runge Kutta method to the differential equation in equation 1. I want to do this on matlab.

 Respuesta aceptada

KSSV
KSSV el 14 de Oct. de 2020

0 votos

It can be done both by writitng your own code or using inbuilt functions....
  1. You canget analytical solution using syms, dsolve. Read about them.
  2. You can use ode45 to use Runge-Kutta method using inbuilt functions.
  3. You can search in file exchange/ gogole to get code, so that with few changes you can customise it to your case.

3 comentarios

rana zain
rana zain el 14 de Oct. de 2020
I am unable to do this for 3rd order range kutta. can someone do the customerizaion for me. I can pay for it as well.
rana zain
rana zain el 14 de Oct. de 2020
i have these codes. but the problem is i am unable to make it according to my equation. I want it to be according to my conditions.

Iniciar sesión para comentar.

Más respuestas (0)

Categorías

Más información sobre Numerical Integration and Differential Equations en Centro de ayuda y File Exchange.

Preguntada:

el 14 de Oct. de 2020

Comentada:

el 14 de Oct. de 2020

Community Treasure Hunt

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

Start Hunting!

Translated by