Skip to content

Write a MATLAB code to solve the initial value problem y'=e^(t-y) where 0<=t <=1 . with initial condition y(0)=1 Runge-Kutta ORDER FOUR METHOD In each method, N=5,10,20,40,80,160,320,640,1280,2560. Program must be able to display the error (EN) at the final step t=1 for each N and calculate the ratio of errors The exact solution for this problem…

Notifications You must be signed in to change notification settings

abdullahmujahidali/Matlab-Runge-Kutta-ORDER-FOUR-METHOD

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Runge Kutta Order Four Method in Matlab

  1. Write a MATLAB code to solve the initial value problem y'=e^(t-y) where 0<=t <=1 . with initial condition y(0)=1 Runge-Kutta ORDER FOUR METHOD In each method, N=5,10,20,40,80,160,320,640,1280,2560. Program must be able to display the error (EN) at the final step t=1 for each N and calculate the ratio of errors The exact solution for this problem is y(t)=ln(e^t + e - 1)
  • Clone this Repo
$ git clone https://github.com/abdullahmujahidali/Matlab-Runge-Kutta-ORDER-FOUR-METHOD.git
  • Open code.m in matlab and run code.

About

Write a MATLAB code to solve the initial value problem y'=e^(t-y) where 0<=t <=1 . with initial condition y(0)=1 Runge-Kutta ORDER FOUR METHOD In each method, N=5,10,20,40,80,160,320,640,1280,2560. Program must be able to display the error (EN) at the final step t=1 for each N and calculate the ratio of errors The exact solution for this problem…

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages