-
Rombegrg
录入程序代码,并对该实验代码进行调试,检查程序代码中的语法和语义错误。
编写函数f(x)的代码如下:
Romberg算法¨
function z=f(x)
if (x~=0)
z=sin(x)/x
else
z=1
end
备注:在实验代码中,首先输入必要的变量的值如下:
a=0
b=1
tol=1e-8
待查询检查通过,开始输入执行代码
设置格式format short g查看u的值和sin(u)的值:
(Input program code, and debugging code for the experiment to check the program code in the syntax and semantic errors. The preparation of a function f (x) of the code is as follows: Romberg algorithm ¨ function z = f (x) if (x ~ = 0) z = sin (x)/x else z = 1 end Note: In the experimental code, First, enter the necessary value of the variable is as follows: a = 0 b = 1 tol = 1e-8 pending inquiries, checking through, began to enter the implementation of the code format format short g see u, values and sin (u) values:)
- 2009-12-28 22:03:42下载
- 积分:1
-
youxuliebiaocharu
有序列表的插入,每次添加新数据时,保证整个列表的有序性(Into an ordered list, every time you add new data, to ensure the orderly nature of the entire list)
- 2010-09-28 18:30:57下载
- 积分:1
-
kk
说明: authorware authorware authorware authorware authorware authorware
- 2010-03-15 23:42:07下载
- 积分:1
-
7.31_GUI
云计算是一种商业计算模型。它将计算任务分布在大量计算机构成的资源池上,使各种应用系统能够根据需要获取计算力、存储空间和信息服务。
(Cloud computing is a business computing model. It computational tasks are distributed in a large number of computer resources of Ikegami, a variety of applications based on the need for computing power, storage space and information services.)
- 2012-04-25 18:46:28下载
- 积分:1
-
Imaging-via-CS
关于OMP,希望对大家哟偶所帮助。我也会高兴的( itisaboutOMP,i hope you can use it .)
- 2012-06-12 11:23:50下载
- 积分:1
-
UWB_5
ultra wide band simulation 5
- 2013-01-13 05:41:27下载
- 积分:1
-
pressureprofile_silder_bearing
This matlab code is for pressure profile for slider bearing. Inputs need to be given acc to bearing being used.
- 2014-10-25 13:58:56下载
- 积分:1
-
kext
对于球形颗粒物,r为球的半径但非球形颗粒物,r还不确定。
水中由悬浮颗粒物产生的光散射引起光子的传输方向发生变化,光子已偏离了准直方向。但不会改变光子的其他特性随机过程。
(scattering light
transmission in water
)
- 2013-09-04 10:45:42下载
- 积分:1
-
TranCoordinate
輸入點位於WGS84之大地經、緯度,可於命令窗顯示此點之卯酉圈曲率半徑N、子午圈曲率半徑M及平均曲率半徑R及此點之空間直角坐標X、Y及Z。(Input point is located in the WGS84 geodetic latitude and longitude can be displayed in the command window of the prime vertical radius of curvature point N, M meridian radius of curvature and the average radius of curvature R and the point of the space rectangular coordinates X, Y and Z.)
- 2013-11-04 23:22:01下载
- 积分:1
-
常微分方程用matlab语言编程求解 ODE
说明: 常微分方程用matlab语言编程求解,例子中有中文附录详细说明,是入门用Matlab求解数学问题的优秀案例(ordinary differential equation by using matlab code)
- 2020-04-05 21:36:58下载
- 积分:1