Location:
Search - java实现的表达式计算器
Search list
Description: 1.这个计算器可用在离散数学的数理逻辑中,纯属工具,随意传播,由java语言实现,解压即可运行,需要按照java环境。可以去这里下载运行环境:http://www.skycn.com/soft/3116.html 2.这个计算器可以计算逻辑表达式的值、对应的真值表、主析取范式、主合取范式。 3.输入表达式时可以在表达式栏中输入,也可用相应的按钮输入,变元只能是PQRST。由于等价连接词无法识别,所以用等号代替,这也是一个无奈的选择。 4.计算前请选择变元个数(默认为3元)并对变元赋值。变元个数最高为5,基本能满足日常的计算。 5.计算器有自动检查表达式是否正确的功能,如果判断功能有误,麻烦您告诉我您的表达式。-1. The calculator can be used in discrete mathematics mathematical logic and is purely tools, and they spread by java language, can extract operation, in accordance with the needs of java environment. Go here to download operating environment : http : / / www.skycn.com/soft/3116.html 2. The calculator can or count the value of the expression logic, truth table corresponding to the main disjunctive, with the main SAT. 3. Importation of expression can be imported in the expression column, also available in the corresponding button input variables can only be PQRST. As conjunction equivalence can not be identified, and so synonymous substitution, this is a helpless choice. 4. Please choose before calculating variable number (default 3 million) as well as variable assignment. Arguments for the
Platform: |
Size: 7118830 |
Author: vintoak |
Hits:
Description: 这是一个简单的计算器,当输入一个完整的计算是之后进行计算,转换成后最表达式之后再进行计算得出结果。利用堆栈实现的。
Platform: |
Size: 5858 |
Author: 肖超伟 |
Hits:
Description: java实现的表达式计算器
Platform: |
Size: 17372 |
Author: xm9406 |
Hits:
Description: 1.这个计算器可用在离散数学的数理逻辑中,纯属工具,随意传播,由java语言实现,解压即可运行,需要按照java环境。可以去这里下载运行环境:http://www.skycn.com/soft/3116.html 2.这个计算器可以计算逻辑表达式的值、对应的真值表、主析取范式、主合取范式。 3.输入表达式时可以在表达式栏中输入,也可用相应的按钮输入,变元只能是PQRST。由于等价连接词无法识别,所以用等号代替,这也是一个无奈的选择。 4.计算前请选择变元个数(默认为3元)并对变元赋值。变元个数最高为5,基本能满足日常的计算。 5.计算器有自动检查表达式是否正确的功能,如果判断功能有误,麻烦您告诉我您的表达式。-1. The calculator can be used in discrete mathematics mathematical logic and is purely tools, and they spread by java language, can extract operation, in accordance with the needs of java environment. Go here to download operating environment : http :// www.skycn.com/soft/3116.html 2. The calculator can or count the value of the expression logic, truth table corresponding to the main disjunctive, with the main SAT. 3. Importation of expression can be imported in the expression column, also available in the corresponding button input variables can only be PQRST. As conjunction equivalence can not be identified, and so synonymous substitution, this is a helpless choice. 4. Please choose before calculating variable number (default 3 million) as well as variable assignment. Arguments for the
Platform: |
Size: 7118848 |
Author: vintoak |
Hits:
Description: 这是一个简单的计算器,当输入一个完整的计算是之后进行计算,转换成后最表达式之后再进行计算得出结果。利用堆栈实现的。-This is a simple calculator, when the importation of a complete calculation is carried out after the calculation, converted into the most regular expressions and then calculated the results. Use stack achieved.
Platform: |
Size: 5120 |
Author: 肖超伟 |
Hits:
Description: 主要实现表达式计算器词法分析功能,对编译原理中的第一步词法分析所编译的代码-The main achievement of expression calculator lexical analysis function, the principle of compiling the first step in the lexical analysis code compiler
Platform: |
Size: 64512 |
Author: cuckoo-jian |
Hits:
Description: 编程:编程实现一个简单的四则运算计算器:从键盘输入一个四则运算表达式(没有空格和括号),遇等号"="说明输入结束,输出结果。
假设计算器只能进行加减乘除运算,运算数和结果都是整数,4种运算符的优先级相同,按从左到右的顺序计算(即:2+3*5先计算2+3,再计算5*5)。
示例:括号内是说明
-Programming: programming a simple calculator four operations: from the keyboard to enter a four operator expression (no spaces and brackets), the event of an equal sign " =" the instructions to enter the end of output. Calculator can only assume that addition and subtraction multiplication and division operations, the operands and the results are integers, four kinds of operator precedence the same as calculated according to the order from left to right (ie: 2+3* 5 first, a 2+3, and then calculate 5* 5). Example: Figures in bracket shows
Platform: |
Size: 131072 |
Author: 李伟 |
Hits:
Description: JAVA编写的小型计算器,GUI界面,实现了表达式运算,并有检错功能!- JAVA compilation smallcalculator ,GUI Frame, Has realized the expression operation, and has the error detection function .
Platform: |
Size: 2048 |
Author: 周彦君 |
Hits:
Description: 1) 支持基本的四则(+、-、*、/)运算。
2) 支持sin cos tan等三角函数的运算。
3) 支持log、ln、exp、x^y、sqr等复杂的运算。
4) 实现了解析运算(可以输入一个数学表达式,然后正确计算出结果)。
5) 具有清零功能。
6) 具有退格与记忆键。
7) 支持圆周率一键输入。
8) 支持科学计数法输入。
9) 具有连续计算的能力,即上一次计算的结果可以直接参与下一次计算(即兼有标准计算器的特点)。
10) 输入可以通过界面实现,即用鼠标点击按钮;同时支持完全的键盘输入,方便习惯使用键盘的用户。
11) 具有一定得检错能力,能够检测出大部分常见的输入错误(包括键盘输入时的输入错误)。
12) 能够显示当前的日期和时间。
13) 具有2个菜单选项,通过“关于”菜单可以查看使用说明。
14) 具有三个快捷键(F1、F2、F3)
Platform: |
Size: 208896 |
Author: 绝毅 |
Hits:
Description: 利用java做的简单的计算器程序,能够实现混合四则运算表达式(可带括号)求值。-Use java to do a simple calculator program, to achieve mixed arithmetic expression (which can carry in parentheses) is evaluated.
Platform: |
Size: 5120 |
Author: 刘宾锋 |
Hits:
Description: 这是我在大学波尔多1类PROJET。我professieur Mr.Baudon创世这些代码给Java结构hashtree的例子。这是评估一个数值表达式,实现了类计算器。-This is to achieve a class calculator evaluating a numeric expression.
Prefixed expressions are used to facilitate analysis:
no priority
no associativity
the battery is required to calculate the recursive calls
For example,+/4 2 1 the result is 3 (= 4/2+ 1)
On the other hand, the character - being used as a sign by StreamTokenizer, the corresponding binary operator will be represented by the word "less".
Platform: |
Size: 6144 |
Author: jin |
Hits:
Description: 采用java语言实现的计算器应用程序,运用到了栈的原理进行正则表达式的计算过程。还不算太完善,有问题请指出、-Using java language to achieve the calculator application, the use of the stack principle of regular expression calculation process. Is not very perfect, a problem please point out,
Platform: |
Size: 29696 |
Author: ly |
Hits:
Description: java编写的后序表达式计算器,可实现简单运算。-implement simple arithmetic the subsequent expression evaluator written in Java.
Platform: |
Size: 5120 |
Author: 逆水之寒 |
Hits:
Description: Java课程设计源程序,可以实现简单的数学表达式的求解,,也可以当做简单计算器来用。-Java curriculum design source code, can realize a simple mathematical expression of the solution, and also can be used as a simple calculator.
Platform: |
Size: 2048 |
Author: 甄 |
Hits:
Description: java编写的后序表达式计算器,可实现简单运算。-implement simple arithmetic the subsequent expression uator written in Java.
Platform: |
Size: 5120 |
Author: zh9940 |
Hits:
Description: 科学计算器源码是一个基于安卓的计算器项目源码,除了可以实现了系统自带计算器功能外还可以进行基本函数的运算和括号的运算,能根据表达式的优先级来自动区分运算顺序。另外在软件的下方也能根据按键进行功能上的友好的提示。全部功能只用了一个java文件搞定,源码有详细的注释,新手朋友可以学习一下布局和实现。-Scientific calculator source code is a calculator program source code based on Android, in addition to realize the system comes with the calculator function can also carries on the basic function of operation and the parentheses operation, can according to the expression of priority to automatically distinguish the order of operations. In addition to the bottom of the software can also be based on the function of the button on the friendly tips. All features only a java file to get, the source code has detailed notes, novice friends can learn about the layout and implementation.
Platform: |
Size: 1772544 |
Author: shdmh12138 |
Hits:
Description: 一个通过Java代码实现的科学计算器。
用户可以通过输入一串数学表达式来获得他们想要的结果。功能效果类似于卡西欧计算器,所包含的运算符号包括加(+)、减(-)、乘(*)、除(/)以及次方(^)。
比如输入:"( 3 + 5 ) * 2 - 6 ^ 2",回车后会得到输出结果:"-20"。
输入不合法字符会报错,程序健壮度佳。
学习该代码有助于理解科学计算器、卡西欧计算器的运算实现原理。(A class that computes an arithmetic expression.)
Platform: |
Size: 3072 |
Author: Shayne
|
Hits:
Description: (1)实现一个小型计算器的功能,即输入一个表达式,然后从表达式中提取出两个数字和一个运算符,最后输出计算结果。
(2)猜数游戏((1) realize the function of a small calculator, that is, input an expression, then extract two numbers and an operator from the expression, and finally output the calculation result.
(2) guessing games)
Platform: |
Size: 1024 |
Author: 紫玲
|
Hits: