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.

 采纳的回答

KSSV
KSSV 2020-10-14

0 个投票

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 个评论

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.
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.

请先登录,再进行评论。

更多回答(0 个)

类别

帮助中心File Exchange 中查找有关 Numerical Integration and Differential Equations 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by