搜索资源列表
计算器2.0
- 能运算的函数: sin,cos,tg,ctg,e^,pow(x,y),cosh,sinh,tgh,log10,ln,sqrt,arcsin,arccos, 运算方式: +,-,*,/,绝对值(“[ ]”),^,!, 输入规则: 用键盘或按钮都可,输入完按回车运算,(光标要在最后) sin(21-32)/(12-43) 4(323-4343) 4*(323-4343) e^2-sin3-3^4,(不要输入pow(3,4)) //有无*都可 2*3^4是(2*3)^4
27_142
- 矩阵计算的c++代码,本矩阵类实现了对矩阵的一些基本操作,比如 +, -, *,求逆等。 实现了矩阵的列主元LU分解,并利用它实现了线性代数方程组的直接解法;还有线性方程组的迭代解法。 另外定义了一些非数学上但经常用到的一些操作 比如两个矩阵对应元素的相乘、相除,对矩阵的每个元素求abs,sqrt等-matrix calculation of c code, the matrices of the matrix to achieve some basic tasks, such
判断素数的个数
- 判断101-200之间有多少个素数,并输出所有素数。 1.程序分析:判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除, 则表明此数不是素数,反之是素数。 -judgment 101-200 between the number of primes, and the export of all prime numbers. 1. Program Analysis : judgment in several ways : with a few were t
FormulaProcessor_beta1_CSharp
- 功能说明: 次组件提供的功能有二: 1、解析出数学表达式中的参数 2、计算数学表达式 此组件不但可以解析和计算数学表达式,还提供了一系列的数学基本函数,可应用于表达式中一块处理。提供的数学基本函数有:将值舍入到最接近的整数 rount(x)、向下取整函数 int(x)、向上取整 ceiling(x)、求两个数中最大数的函数 max(a,b)、求两个数中最小数的函数 min(a,b)、幂函数 pow(x,n)、求平方根的函数 sqrt(x)。 下载地址:http
autocompu
- 此算术表达式解析器能够在程序运行时根据输入的变量大小和算术表达式动态解析表达式,得到运算结果。支持多项算术运算符和数学函数如下:: + - * / ^ ( ) mod abs, atan, cos, exp, ln, round, sin, sqrt, sqr, trunc-this arithmetic expression parser procedures in the light of input variable size and arithmetic expressions Dyna
000
- 求标准偏差 > function c=myfunction(x) > [m,n]=size(x) > t=0 > for i=1:numel(x) > t=t+x(i)*x(i) > end > c=sqrt(t/(m*n-1)) function c=myfunction(x) [m,n]=size(x) t=0 for i=1:m for j=1:n t=
111
- 求标准偏差 > function c=myfunction(x) > [m,n]=size(x) > t=0 > for i=1:numel(x) > t=t+x(i)*x(i) > end > c=sqrt(t/(m*n-1)) function c=myfunction(x) [m,n]=size(x) t=0 for i=1:m for j=1:n t=
numerical_analysis_classic
- 数值分析中最常用的14个程序: 01_N皇后问题 01_循环赛程表 02_分段线性插值 02_牛顿插值法 03_构造正交多项式 03_最佳一致逼近多项式 04_简单迭代法求方程根[1+1;x] 04_简单迭代法求方程根[sqrt(x+1)] 05_复化梯形公式求积 06_尤拉公式解初值问题 08_高斯消去法解方程组 09_连分式法求积 10_迭代法解线性方程组 10_雅可比方法
simple_iterative_root_2
- 数值分析中的简单迭代法求方程根问题(迭代公式为[sqrt(x+1)]),程序中含方程输入和根显示界面。
sqrt
- 实现无符号整形数快速开方 包括32位开成16位 16位开成8位-Shaping to achieve a number of unsigned 32-bit fast prescr iption including Kaicheng 16 16 Kaicheng 8
weifenwaitui
- 在VC环境下,演示了协方差法的模型外推算法,测试函数为: f(x)=sin(x)*sqrt(x+1)。 最后输出结果对比 -In the VC environment, demonstrate the model covariance method extrapolation method, the test function: f (x) = sin (x)* sqrt (x+1). The comparison of the final output
Recursion
- To calculate using recursion, expression sqrt(6+2*sqrt(7+3*sqrt(8+4*sqrt(9+-To calculate using recursion, expression sqrt(6+2*sqrt(7+3*sqrt(8+4*sqrt(9+...))))
T
- T-algo. It finds the total length of an objects sides. First you enter the number of corners. then u enter the co-ordinates for the corners and the program then generates the lengths with the good old equation SQRT((x2-x1)^2+(y2-y1)^2)
tri_lattice_dielectric
- 这个程序可以用于四方晶格光子晶体圆柱的能带计算。给出了解析的折射率分布 u1=[1,0,0] u2=[1/2,sqrt(3)/2,0] u3=[0,0,1] -This code can be used in band structure of photonic crystal. It give out the dielectric distribution of circular rods.
tri_lattice_circular_air
- 这个程序可以用于三角晶格空气孔光子晶体的能带计算。给出了解析的折射率分布 u1=[1,0,0] u2=[1/2,sqrt(3)/2,0] u3=[0,0,1] -This code can be used in band structure of triangular lattice rod photonic crystal. It give out the dielectric distribution of circular air holes.
C.
- 判断101-200之间有多少个素数,并输出所有素数。 1.程序分析:判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除, 则表明此数不是素数,反之是素数。 -Between 101-200 to determine the number of primes, and prints out all prime numbers. 1 program analysis: methods to determine the prime numbers: a numb
112233
- 给程序源码是用vb 调用matlab 生成的com 组件,由于网上的这方面资料太少,而且所用matlab 的版本也较低,本人用matlab 2010 a 做得com 源码很简单。-this program can make the sqrt
Unix-Calculator
- (1)加减乘除法基本运算 (2)四则运算,支持括号改变优先级 (3)数学函数支持,包括: 正弦运算sin,余弦运算cos,e为底的对数运算ln,自然对数e次方运算exp,开平方根运算sqrt 次幂运算power,求绝对值运算fabs。 -(1) basic operations of addition and subtraction multiplication and division (2) arithmetic, support
Computer
- VC++表达式解析(计算)工具源代码,由江汉石油学院计算机系的学生所编写。表达式中只能有圆括号、函数名、运算符、常数与变量。一、变量名的命名规则:1、可以是字符、或字符串 2、不能以数字开头 3、不能夹杂有空格、运算符或标点符号,以及以下字符:、|、=、&、 、$、@、#、`、~.二、函数有sin、cos、tan、cot、sqrt、asin、acos、atan、log,均需要小写。函数后的变量名可以加括号,也可以不要括号,如:log(C1)与logC1是相同的。三、运算符有+(加)、-(减)、*
cordic
- cordic,matlab,sin,cos,atan,sqrt
