rus eng
J2ME-applications for mobile phones
Home Navigators Dictionaries Book readers "Databases" Housekeeping Calculators Games Timers References







Book reader

Calculators | Calculator

Last release: 23.03.2004
Compatibility: Java MIDP 1.0
English version(32Kb)
Polish version(32Kb)
Spain version(32Kb)
Sources: Kb)


Scientific calculator. Allows to perform caclulation with high precicion and implements most populatr mathematical functions: sin, cos, tan, asin, acon, atan, exp, log, sqr, floor and ceil. Also it make it possible to define your own function, store results in variables and use variable sin expressions. Calculator store al formuls you have entered. Plot function can be used to draw graph of function with single argument.
More detailed description of calculator is here.


  • Write formula using normal infix notation, for example (x^2 + y^2)/1.5. To execute statement use Evaluate command.
  • Use variable to write generic formulas, by changing values assigned to the variables you wil be able to repeat calculation for all input data with minimal typing. Define your own functions which also can speedup your work and reduce probability of making an error.
  • It is possible to write small functional programs using conditional ?: operator. For example sum of arithmetic progression can be calculated by the following function
    Calculator has only < and > comparison operators (because comparing floating point number for equality is any case bad idea). But it is also to check that value belongs to specified range using min<x>max operator.
  • All statement you have entered and stored in database. You can select proper statement using List command. Statements are marked with three different icons: ? (yellow) - statement was not yet evaluated, V (green) - statement was normally compiled and ! (red) - statement was not compiled due to some errors. It is possible to insert reference to the users function using Insert command. To compile and execute statement use Edit and then Evaluate command.
  • Help command can be used to list all operators and functions provided by the calculator. You can also insert in edit buffer template of operator or function using Insert command.
  • To draw graph of user defined function with one argument, use plot function with three or four parameters: plot(from,till,step,function) or plot(from,till,function). In last case step is choosen automatically according to screen resolution.


Calculators | PCalc

Last release: 26.01.2004
Compatibility: Java MIDP 1.0
Binaries: Kb)


Programming calculator. You can write programs for stack machine (with simplified Java like instruction set). Program consisits of one or more procedure which can be nested. It is possible to access variables of top procedure (like in Pascal). You can execute program step-by-step and inspect stack and variables in debugger. Input of commands and thier operands is optimized for mobile phone. This calculator is using floating point arithmetic with quadra precision (64 bits for both mantissa and exponent) implemented by Nikolay Klimchuk. More detailed description of calculator is here.


  • PCalc keeps in database all your programs. A program consists of main procedure and may be some subprocedures. Program may have input parameters. The values of these parameters will be asked when program is started. Access to the parameters is performed using input instruction.
  • PCalc provides stack-based language (like Forth). Operands are pushed on stack and operations are performed with top elements of the stack. Temporary results also can be stores in local variables (of self or outer procedure). Stack is also used to pass parameters to procedures and return values. Content of stack after return from main procedure is treated as program result. It is also possible view values of variables of main procedure (if program should return many results it is more convenient to store them in local variables).
  • PCalc provides the following groups of instructions: load/store, operators, functions, control flow. Instructions of first three groups do not require extra explanation. Control flow instructions includes procedure call, return, conditional (IF) and unconditional (GOTO) branches. IF transforms control to the specified label if value on stack is zero. Label for these instruction is specified by selecting instruction in the list. Please notice, that when you are inserting new branch instruction it is not yet present in the list.
  • PCalc provides wide editing capabilities. It is possible to add/remove/rename any variable/parameter/function. The only restriction is that it is not possible to remove entity which is used. It is also possible to move label (adjusting all branch instruction referencing this label) or change target of particular branch instruction.
  • PCalc allows to introduce new variable only when you are specifying operand for STORE. Operand of load method is selected from the list of available variables. It somehow prevents programmer from using uninitialized variables.


scientific calculator with plot capability

programming calculator (for fans of stack-based virtual machines)