搜索资源列表
ExpressCalculate
- 数值计算,表达式求值, 如计算3 + 2 * ( 3 + 2) / 5 + 8 + Sin( pi() / 180 * 30 ) + 1 + 2 ^ 10, 可自定义函数, 采用递归算法-numerical calculation, in the expression evaluates, as calculated 3 2 * (2) / 5 8 Sin (pi () / 180 * 30) 1 2 ^ 10, - defined functions using recursive algor
TurboPascalAdvancedProgramming
- 第1章 TURBO PASCAL高级编程技术 1.1 单元及其使用 1.2 与汇编语言混合编程 1.3 与C语言混合编程 1.4 过程类型及其使用 1.5 中断例程的编写方法 1.6 动态数组及其使用 1.7 扩充内存(EMS)及其使用 1.8 扩展内存(XMS)及其使用 1.9 程序的标准数据作代码处理的方法 第2章 实用工具单元 2.1 屏幕输入与输出单元ACRT 2.2 字符串处理单元ASTR 2.3 磁盘
曲线拟合
- (1)利用多项式拟合的两个模块程序求解下题: 给出 x、y的观测值列表如下: x 0 1 2 3 4 5 y 2.08 7.68 13.8 27.1 40.8 61.2 试利用二次多项式y=a0+a1x+a2x2进行曲线拟合。 (1)多项式拟合方法:假设我们收集到两个相关变量x、y的n对观测值列表: x x0 x1 x2 x3 x4 x5 y y0 y1 y2 y3 y4 y5 我
correlate
- 功能:编写的计算皮亚诺相关系数 开发语言:ruby 调用:correlate(x,y) 其中,x,y为需要计算相关度的向量 调用示例: a = [3, 6, 9, 12, 15, 18, 21] b = [1.1, 2.1, 3.4, 4.8, 5.6] c = [1.9, 1.0, 3.9, 3.1, 6.9] c1 = correlate(a,a) # 1.0 c2 = correlate(a,a.reverse) # -1.0 c3 = co
MAIN 3-DIMENSIONAL CFD-PROGRAM
- #//u(i,j) x方向的速度u;或者θ方向速度uθ #//u(i,j) y方向的速度v;或者径向速度ur'h\K #//pc(i,j) 压力修正 p'[OS #//p(i,j) 压力p-=5-+ #//p(i,j)
longest
- Problem B:Longest Ordered Subsequence A numeric sequence of ai is ordered if a1 < a2 < ... < aN. Let the subsequence of the given numeric sequence (a1, a2, ..., aN) be any sequence (ai1, ai2, ..., aiK), where 1 <= i1 < i2 < ... &l
CH8
- 8.1 最小二乘曲线拟合hpir1.c 8.2 切比雪夫曲线拟合hchir.c 8.3 最佳一致逼近的里米兹法hremz.c 8.4 矩形域的最小二乘曲面拟合hpir2.c-8.1 Least-squares curve-fitting hpir1.c 8.2 Chebyshev curve fitting the best uniform approximation hchir.c 8.3 years Meeds law hremz.c 8.4 rectangular domain
runge-kutta
- 常微分方程的数值解法及仿真 一、 欧拉(Euler)公式 2 二、 龙格-库塔公式 2 1. 二阶龙格-库塔公式 2 2. 四阶龙格-库塔公式 2 三、 一阶常微分方程组的数值解法 2 四、 仿真算例 4 仿真1 应用欧拉法 4 仿真2 应用二阶龙格-库塔法 5 仿真3 应用四阶龙格-库塔法 6 附录 Matlab程序 7 1. 欧拉法程序 7 2. 二阶龙格-库塔法程序 8 3. 四阶龙格-库塔法程序 9 参考文献 10 -runge
test2
- 输入若干个整数,再输入一个-1。 输出整数的和。 如: 输入:3 8 2 1 9 -1 输出:23 -Enter number of integers, and then enter a-1. Output integer and. Such as: Input: 3 8 2 1 9-1 Output: 23
1
- 写一个函数并调用,求数列2/1,3/2,5/3,8/5,13/8.21/13……求前n项之和。-Write a function and call, find the series 2/1, 3/2, 5/3, 8/5, 13/8.21/13 ... ... request before the n items combined.
crc
- 自动完成CRC校验码的计算 1 010110001101 110011 可以得到: (1)index:5 pointing:1 101011 110011 011000 (2)index:6 pointing:0 110000 110011 000011 (3)index:7 pointing:0 000110 0 000110 (4)index:8 pointing:0 001100 0 001100 (5)ind
ji-suan-fang-fa-shiyan
- 计算方法实验:包括高斯迭代和牛顿下山法;1、用Gauss - Seidel 迭代法求解方程组 10x1-x2-2x3=7.2 -x1+10x2-2x3=8.3 -x1-x2=5x3 输入:系数矩阵A,最大迭代次数N,初始向量,误差限e 输出:解向量 2、用牛顿下山法解方程 x*x*x-x*x-1=0(初值为0.6) 输入:初值,误差限,迭代最大次数,下山最大次数 输出:近似根各步下山因子。-Experimental method: includ
LECalculator
- 3.1 线性方程组类设计 3.2 全选主元高斯消去法 3.3 全选主元高斯-约当消去法 3.4 复系数方程组的全选主元高斯消去法 3.5 复系数方程组的全选主元高斯-约当消去法 3.6 求解三对角线方程组的追赶法 3.7 一般带型方程组的求解 3.8 求解对称方程组的分解法 3.9 求解对称正定方程组的平方根法 3.10 求解大型稀疏方程组的全选主元高斯-约当消去法 3.11 求解托伯利兹方程组的列文逊方法 3.12 高斯-赛德尔
gravity-complicated--forward
- 空间域复杂形体正演(重力) 1、坐标单位为m。 2、观测面x方向的范围为-26.00~26.00,点数为27个;y方向的范围为-26.00~26.00,线数为27个;z坐标向下为正,其值为0.0。 3、场源体有三个,其参数分别为: 剩余密度,磁化强度,地磁倾角,地磁偏角,x方向起点,x方向终点,y方向起点,y方向终点,z方向起点,z方向终点 0.9,17000,50,5,-4,8,-8,-3,2,7 0.8,34000,50,5,0,7,0,5,3,7 0.7,200
3
- 809*??=800*??+9*??+1 其中??代表的两位数,8*??的结果为两位数,9*??的结果为3位数。求??代表的两位数,及809*??后的结果。-809*?? = 800*??+9*??+1 Where?? Representative of double-digit, 8*?? The results of double-digit, 9*?? The result is 3 digits. Requirements?? Representatives of double-digi
8.14
- 输入10个学生5门课的成绩,分别用函数求:1,每个学生的平均分;2,每门课的平均分3,找出最高分所对应的学生和课程;4,求出平均分方差。-Enter the results of 10 students in the course, function evaluation: 1, the average of each student 2, the average per course, to identify the highest branch of the corresponding s
8-classical-algorithm-c-language
- 1.实现将输入的string字符串反序输出。 2.一个数如果恰好等于它的因子之和,这个数就称为"完数"。例如6 = 1+2+3找出10000以内的所有完数。 3.下面程序的功能是将一个4×4的数组进行逆时针旋转90度后输出,要求原始数组的数据随机输入,新数组以4行4列的方式输出 4.编程打印杨辉三角。 5.实现将输入的字符串反序输出 6.实现字符串拷贝函数strcopy(char*src,char* dest) 7.求近似Pi值。可以用公式(如:pi/2 = 1+1/3+
Josephus--Problem
- 问题描述:n个人围成一个环,从第i个开始,由1到interval不断报数,凡报到interval的出列,直到环空为。出列的人按先后顺序构成一个新的序列。例如,n=8,i=2,interval=3.则输出序列为:4 7 2 6 3 1 5 8-Problem descr iption: n individuals into a ring, from the beginning, I by 1 to interval number off, report any interval matri, ti
numpy-MKL-1.8.1rc1.win-amd64-py3.3
- Python中用于科学计算的numpy库,适用于x64和python3.3-Python for scientific computing numpy library for x64 and python3.3
blas-3.8.0
- 很有名的基础线性代数子程序库,里面拥有大量已经编写好的关于线性代数运算的程序。(The BLAS (Basic Linear Algebra Subprograms) are routines that provide standard building blocks for performing basic vector and matrix operations. The Level 1 BLAS perform scalar, vector and vector-vector operat