文件名称:fr
- 所属分类:
- 数值算法/人工智能
- 资源属性:
- [Matlab] [源码]
- 上传时间:
- 2012-11-26
- 文件大小:
- 1kb
- 下载次数:
- 0次
- 提 供 者:
- liuzh******
- 相关连接:
- 无
- 下载说明:
- 别用迅雷下载,失败请重下,重下不扣分!
介绍说明--下载内容均来自于网络,请自行研究使用
Write a Matlab program which solves the initial value problem
y
= (xy − y2)/x2, y(1) = 2,
by the order four Runge-Kutta method, over the interval [1, 3] using steps of h = 1/128. The exact solution to
this problem is given by y(x) = x/(ln x + 1/2).
Your program should display a plot of the Runge-Kutta solution and the exact solution on the same axes
and should print out the norm of the relative error of the numerical solution. Be sure to label the x,y axes of
the plot and to put a title on the plot.-Write a Matlab program which solves the initial value problem
y
= (xy − y2)/x2, y(1) = 2,
by the order four Runge-Kutta method, over the interval [1, 3] using steps of h = 1/128. The exact solution to
this problem is given by y(x) = x/(ln x+ 1/2).
Your program should display a plot of the Runge-Kutta solution and the exact solution on the same axes
and should print out the norm of the relative error of the numerical solution. Be sure to label the x,y axes of
the plot and to put a title on the plot.
y
= (xy − y2)/x2, y(1) = 2,
by the order four Runge-Kutta method, over the interval [1, 3] using steps of h = 1/128. The exact solution to
this problem is given by y(x) = x/(ln x + 1/2).
Your program should display a plot of the Runge-Kutta solution and the exact solution on the same axes
and should print out the norm of the relative error of the numerical solution. Be sure to label the x,y axes of
the plot and to put a title on the plot.-Write a Matlab program which solves the initial value problem
y
= (xy − y2)/x2, y(1) = 2,
by the order four Runge-Kutta method, over the interval [1, 3] using steps of h = 1/128. The exact solution to
this problem is given by y(x) = x/(ln x+ 1/2).
Your program should display a plot of the Runge-Kutta solution and the exact solution on the same axes
and should print out the norm of the relative error of the numerical solution. Be sure to label the x,y axes of
the plot and to put a title on the plot.
(系统自动生成,下载前可以参看下载内容)
下载文件列表
rkfel.m
tutorial3_2.m
tutorial3_2.m