VC 表达式计算器程序,支持智能纠错功能,支持积分、求方程,算术表达式中可含有x,运算过程中能检查并判断出各种异常,如除数为0、开方函数sqrt(x)中x<0,反余弦函数acos(x)中的x1等。。
2021-12-14 14:01:47 26KB VC 源码-算法相关
1
通过java计算字符串表达式的小工具,支持算术运算符、比较运算符等,支持字符串的计算比较等,更重要的是支持java bean的层层取值,如“a.b.c”。 小巧快速。
1
求存在于二叉树中的算数表达式的值 一个表达式一般由一个运算符和两个操作数构成,操作数本身可以是表达式 这样算数表达式的结构就类似于二叉树 内容: 中序遍历构建表达式二叉树 遍历计算表达式的值
2021-12-14 09:51:20 6KB 二叉树 算数表达式 算法
1
北邮计算机学院数据结构课的中期检查代码,用二叉树存储表达式,并求出表达式的值。同时带有表达式检错功能。
2021-12-14 09:42:10 8KB 北邮 数据结构 表达式求值 二叉树
1
这可能是网上最完整的Cron表达式解析翻译方法。 JavaScript版-解释翻译Cron表达式(代码奉上)。 此方法分为JavaScript版和Java版本,有需要的朋友请根据自己需要下载。 希望我写的方法有帮助到你,不足之处请多多指教。
2021-12-13 14:57:55 8KB cron 定时任务 JavaScript 源码
1
计算机实现给定的算术表达式的求值。运算规则:有括号先算括号内的;无括号时,先做乘除法,再做加减法;对于相同级别的运算按从左到右次序计算。人们书写表达式时通常采用“中缀”表式形式,也就是将运算符放在两个操作数的中间,但这种表示形式对计算机不大合适。我们要求以字符序列的形式从终端输入语法正确的、不含变量的整数表达式——人们习惯的中缀表达式,首先将其转换成计算机容易处理的后缀表达式,再计算后缀表达式的值。
2021-12-13 12:58:54 451KB 数据结构表达式
1
本程序利用两个栈——一个符号栈一个数字栈,实现了中缀表达式的计算,代码风格是C++,运行平台是QT,欢迎大家下载参考。
2021-12-12 17:13:57 4KB 栈中缀C++
1
python爬虫 通过python requests 的库来进行html获取 正则表达匹配 csv文件处理
2021-12-11 22:47:08 5KB python 正则表达式 csv
1
这是一个不需要输入任何参数,只需要一个公式就可以得到多项式根的函数。 这个.m文件只能使用's'作为变量。 注意:'s'必须包括在内! 例如: getroots (s * (10 * s + 1) * (0.03 * s + 1) * (0.0047 * s + 1)) 则会得到: x1 = 0.000000 x2 = -212.765957 x3 = -33.333333 x4 = -0.100000 如果den只是一个数字:你需要输入:'0*s + #number' 在你输入公式之前,你需要输入:'syms s'
2021-12-10 16:03:23 980B matlab
1
matlab输入分子和分母表达式直接得出乃氏图和博德图 %Welcome to use getnyquist. %It's a function helping you to get nyquist chart without inputing any parameter but only a formula. %This .m file can only use 's' as variate. %attention: 's' must be included! % %example: % getnyquist(s+1,s*(10*s+1)*(0.03*s+1)*(0.0047*s+1)) %then you will get a chart of its nyquist. % %if num or den is just a number: you need to input:'0*s + #number' %example: %if you input this: getnyquist(1,s*(10*s+1)*(0.03*s+1)*(0.0047*s+1)) %you will get an error report: %Undefined function 'expand' for input arguments of type 'double'. % %Error in getnyquist (line 17) %y1=expand(func1); % %so you have to input that like this: getnyquist(1+0*s,s*(10*s+1)*(0.03*s+1)*(0.0047*s+1)) %then you can get the answer. %before you input a formula, you need to input: 'syms s' %writed by CapRogers. %Welcome to use getbode. %It's a function helping you to get bode chart without inputing any parameter but only a formula. %This .m file can only use 's' as variate. %attention: 's' must be included! % %example: % getbode(s+1,s*(10*s+1)*(0.03*s+1)*(0.0047*s+1)) %then you will get a chart of its nyquist. % %if num or den is just a number: you need to input:'0*s + #number' %example: %if you input this: getbode(1,s*(10*s+1)*(0.03*s+1)*(0.0047*s+1)) %you will get an error report: %Undefined function 'expand' for input arguments of type 'double'. % %Error in getnyquist (line 17) %y1=expand(func1); % %so you have to input that like this: getbode(1+0*s,s*(10*s+1)*(0.03*s+1)*(0.0047*s+1)) %then you can get the answer. %before you input a formula, you need to input: 'syms s' %writed by CapRogers. 上传文件为m文件,解压缩到matlab根目录下的bin文件夹下即可在matlab界面调用
2021-12-10 16:03:23 1KB matlab 控制工程 自动化
1