# first order runge-kutta method

8 visualizzazioni (ultimi 30 giorni)
Ali Haydar YILDIZ il 10 Gen 2021
How can i code this problem with first order runge-kutta method. Do you know typically code about first order ode
A ball at 1200 K is allowed to cool down in air at an ambient temperature of 300 K. Assuming heat is lost only due to radiation, the differential equation for the temperature of the ball is given by
(-2.2067*(10^-12)*((y^4)-81*10^8))
##### 0 CommentiMostra -2 commenti meno recentiNascondi -2 commenti meno recenti

Accedi per commentare.

### Risposte (1)

Uday Pradhan il 13 Gen 2021
Hi,
You can check this lecture series on solving ODEs in MATLAB : link. There is also a "Code and resources" section from where you can download the code used in the lectures. Check the ode1 function which is the First order RK method (Euler's method):link. You can define your function F as:
F = @(t,y) -2.2067 * (10^(-12)) * (y^4 - (81*10^8));
##### 1 CommentoMostra -1 commenti meno recentiNascondi -1 commenti meno recenti
Ali Haydar YILDIZ il 15 Gen 2021

Accedi per commentare.

### Categorie

Scopri di più su Runge Kutta Methods in Help Center e File Exchange

### Community Treasure Hunt

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

Start Hunting!

Translated by