搜索资源列表
calculator
- 设计一个windows附件中所示的计算器 计算double型的“加”、“减”、“乘”和“除”法;(注意小数点的处理) 增加“Backspace”按钮,每按一次删除编辑框最后一个字符; 增加求“倒数”、“sin”、“cos”和“tan”等三角函数;(注意以上运算符是单目运算符,与四则运算并不相同,最好独立为每个按钮设计函数) 增加“%”和“00”按钮,这两个按钮并不是运算符,仅仅是修改编辑框; ᠋
1
- 在一般的数据结构的书中,树的那章后面,著者一般都会介绍一下哈夫曼(HUFFMAN)树和哈夫曼编码。哈夫曼编码是哈夫曼树的一个应用。哈夫曼编码应用广泛,如JPEG中就应用了哈夫曼编码。 首先介绍什么是哈夫曼树。哈夫曼树又称最优二叉树,是一种带权路径长度最短的二叉树。所谓树的带权路径长度,就是树中所有的叶结点的权值乘上其到根结点的路径长度(若根结点为0层,叶结点到根结点的路径长度为叶结点的层数)。树的带权路径长度记为WPL=(W1*L1+W2*L2+W3*L3+...+Wn*Ln),N
fr
- 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/
shuzhifenxikechengsheji
- 考虑在一个固定区间上用插值逼近一个函数。显然,Lagrange插值中使用的节点越多,插值多项式的次数就越高。我们自然关心插值多项式增加时,Ln(x)是否也更加靠近被逼近的函数。龙格(Runge)给出的一个例子是极著名并富有启发性-Consider a fixed-interval interpolation using a function approximation. Obviously, Lagrange interpolation nodes are used the more the n
C
- 一个能进行四则运算的程序 支持+ - * / () sin cos tan lg ln-support+-*/() sin cos tan lg ln ....
ln_exp_pow
- 自然幂运算分析 自然幂运算分析-Analysis of the natural power of natural computing power computing analysis computing power analysis of natural
xyzl_display
- ourbase Bases for all 4 fundamental subspaces. [ROW, N, COL, LN] = fourbase(A) returns matrices whose columns are bases for the row space, nullspace, column space and left nullspace of a matrix A. -ourbase Bases for all 4 fundamenta
ln_q15
- 使用曲线拟合法编写的计算ln(x)的c代码,量化精度为q15-Prepared using the curve-fitting method for calculating ln (x) of the c code to quantify the accuracy of q15
CalcSolver
- 包括常用的函数(三角函数、反三角函数、双曲三角函数、绝对值.......),甚至是 一些复杂无比的表达式也能计算,如:ln e + rnd(2) + 3(2)4 * (log(tan (itan 1))) 等。值得一提 的是,它还有函数绘图、数据统计和自定义常数等功能。另外,程序经过我汉化(仅在界面上),更易 懂。-Including the commonly used functions (trigonometric, inverse trigonometric
Project2
- 对数曲线拟合 Public Function funLogarithm(Num As Long, x() As Single, y() As Single, a As Single, b As Single) As Long 对数曲线拟合,y=a*ln(x)+b Num为输入数据点个数 x()为输入数据点横坐标组成的数组 y()为输入数据点纵坐标组成的数组 a,b为待求系数,为输出项 -failed to translate
id
- prolog写的简单积分微分,实现最基本的内容如sin,cos,ln,exp,chain rule-prolog: Diff erentiation and Indefi nite Integration
Mikolajczyktestcodes
- Mikolajczyk executables with two bugs fixed. The authors remain the same since the source code is almost equal to the original
C++_calculator
- this program is simple calculator that calculate [multiply, divide, plus, minus, facrorial, power, sin(x), cos(x), tan(x), sqrt(x), Ln(x), Exp(x)] of two number.
Javacalculator
- 通过JAVA设计 GUI 界面的计算器程序,用户可以通过鼠标依次输入参加计算的数值,进行加、减、乘、除等混合运算,这些完成标准计算器的基础操作。当选择科学计算器后,可以实现sin 、 cos 、 tan 、 ln、x^y、x^2、x^3、pi、n!、mod和十六进制除这个以外还可以删除输入,清空结果,求1除X,X百分比,十进制是,八进制,二进制的相互转换-Through JAVA calculator program designed GUI interface, users can turn
ln
- 该程序主要完成用汇编代码实现十六进制和十进制的转换。-The procedure to achieve the completion of assembly code with the hexadecimal and decimal conversions.
lagra
- 使用线性方程组求系数构造插值公式相对复杂,可改用构造方法来插值。 对节点xi(i=0,1,…,n)中任一点xk(0<=k<=n)作一n 次多项式lk(xk),使它在该点上取值为1,而在其余点xi(i=0,1,…,k-1,k+1,…,n)上为0,则插值多项式为Ln(x)=y0l0(x)+y1l1(x)+y2l2(x)+…+ynln(x) 上式表明:n 个点xi(i=0,1,…,k-1,k+1,…,n)都是lk(x)的零点。可求得lk -Demand coefficient
12_3
- 从键盘上输入x和y的值,计算y=ln(x-3y)的值,要求用异常处理“负数求对数”的情况-From the keyboard input x and y values, calculate y = ln (x-3y) values, with the exception handling requirements, " requirements on the number of negative" situation
Calculator
- 1) 支持基本的四则(+、-、*、/)运算。 2) 支持sin cos tan等三角函数的运算。 3) 支持log、ln、exp、x^y、sqr等复杂的运算。 4) 实现了解析运算(可以输入一个数学表达式,然后正确计算出结果)。 5) 具有清零功能。 6) 具有退格与记忆键。 7) 支持圆周率一键输入。 8) 支持科学计数法输入。 9) 具有连续计算的能力,即上一次计算的结果可以直接参与下一次计算(即兼有标准计算器的特点)。 10) 输入可以通过界面实现,即用
HUFMM
- 哈夫曼树又称最优二叉树,是一种带权路径长度最短的二叉树。所谓树的带权路径长度,就是树中所有的叶结点的权值乘上其到根结点的径长度(若根结点为0层,叶结点到根结点的路径长度为叶结点的层数)。树的带权路长度记为WPL=(W1*L1+W2*L2+W3*L3+…+Wn*Ln),N个权值Wi(i=1,2,…n)构成一棵N个叶结点的二叉树,相应的叶结点的路径长度为Li(i=1,2,…n)。可以证明哈夫曼树WPL是最小的。-Huffman tree is also called the optimal bina
WIMAX_Turbo_Code
- 这是一套完整的支持wimax 16e协议CTC的编译码程序, 主程序在demo.c 译码器:tcdecoder.c 编码器:tcencoder.c-/* This program simulates the classical turbo encoding-decoding system on PC.*/ /* It uses parallel concatenated convolutional codes described in Figure 2.9 in Chapter