搜索资源列表
kitty
- 一. 追踪模型 以(x , y)代表飞机的坐标,v代表飞机的速度;以(X ,Y)代表导弹的坐标,u代表导弹的速度。 由于导弹时刻指向飞机,故有 dY/dX=(y-Y)/(x-X) 记k=u/sqrt((y-Y)*(y-Y)+(x-X)*(x-X)) 则有 dY/dt=k(y-Y) dX/dt=k(x-X) 故有叠代方程 Y=Y+k*(y-Y)*dt X=X+k*(x-X)*dt (程序中以t代dt) 程序中第一个for循环代表发射导弹打飞机,第二个
05041062
- 1.产生(0-1)分布随机数的方法:z i =(16807zi-1 +1)mod(pow(2,32)).被主函数调用. 2.产生U(0-1)分布利用公式:x1=sqrt(-2lnU1)cos(2PiU2), x2=sqrt(-2lnU1)sin(2PiU2) 3.产生瑞利分布,用两个独立同分布的正态分布值,用公式 x= sqrt(Y1*Y1+Y2*Y2)产生瑞利随机数. 4泊松分布-1. 20 (0-1) random number distribution methods : i
算术表达式解析器
- 此算术表达式能够在程序运行时根据输入的变量大小和算术表达式动态解析表达式,得到运算结果。支持多项算术运算符和数学函数如下:: + - * / ^ ( ) mod abs, atan, cos, exp, ln, round, sin, sqrt, sqr, trunc 例如设定a1和a2的大小,就可计算下列表达式: exp(sin(a1)*cos(a2))操作系统: Visual C++语言 -this arithmetic expression in accordance with the p
math
- 判断101-200之间有多少个素数,并输出所有素数。 1.程序分析:判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除, 则表明此数不是素数,反之是素数。
invsqrt
- 一個加速1/sqrt 運\算的方法啊
panduansushu
- 题目:判断101-200之间有多少个素数,并输出所有素数。 1.程序分析:判断素数的方法:用一个数分别去除2到sqrt(这个数),如果能被整除, 则表明此数不是素数,反之是素数。
MultithreadMathServer
- Using client-server architecture, write a multi-threaded server which returns results of mathematical functions such as sqrt(x),sin(x), cos(x), tan(x), etc. and a companion client to invoke these functionalities from a remote machine.
sqrt
- 排序算法,,可以参考一下,,以前写过的
4441
- 求标准偏差 > 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=
1111
- 求标准偏差 > 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=
ellipse
- Compute nearest points to ellipse 椭圆逼近 phi = ellipse_phi (X, a, b, phi{}, myeps{sqrt(myeps)}) compute angles for nearest points on ellipse to given points X
3
- 表达式解析源代码 对于包含有函数sin、cos、tan、cot、sqrt、asin、acos、atan、log,和运算符+(加)、-(减)、*(乘)、/(除)与^(幂次)的字符串进行解析。可以解析出变量名,由用户赋值然后求表达式的值。 -Parsing the source code for the expression contains a function, sin, cos, tan, cot, sqrt, asin, acos, atan, log, and operators
GenerateTable
- 简单程序制作出Sqrt,sine,以及cosine 表,便于读取-Easy process to produce Sqrt, sine, and cosine tables, easy to read
Example_Sqrt
- 比库函数快得多的开平法算法,摘自鬼佬代码-A last sqrt algorithm , better than the standard lib
ComplexFunction
- 本程序包括大部份复数处理函数:abs()、arg()、conj()、sin()、cos()、sinh()、cosh()、exp()、log()、log10()、norm()、polar()、pow()、sqrt()等。-look it yourself.
calc1.3
- single app that implements a calculator that evaluates an expression written in natural way. For example 3+5*(sqrt(9)) where sqrt y square root. any question? write me at croccifixio29@hotmail.com-single app that implements a calculator that evaluat
sqrt
- c语言学习资料适合初学者。算法实现。的sqrt-c language learning materials for beginners. Algorithm. The sqrt
sqrt
- 该函数使用C语言写的可以实现与sqrt函数相同功能的开平方根函数,其精度可以调整-This function USES the C language to write the SQRT function can realize the same function with the opening of the square root function, its precision can be adjusted
sqrt
- c code to find square root of a number with out using sqrt function
sqrt
- 一个求取sqrt(x)的程序(仿计算器的功能),输入任意10位有效数字以内的正数,可以求取其正的平方根,要求精确到10位有效数字。实现了泰勒级数展开、牛顿迭代、二次插值、最佳一次逼近、卡马克平方根倒数。-A strike sqrt (x) of the program (like a calculator function), the positive input 10 of any less significant digits, the positive square root of the