Calcpad - cool calculator is a simple mathematical formula calculator.
You can define your own constants and functions. In addition to handling
floating point arithmetic, CalcPad takes care of your big-decimal arithmetic
needs as well. Plus, you can stop fighting with your on-screen keyboard
and opt for the Text-to-speech(TTS) function to kick off your calculations.

Link to the Android Market

Link to the Amazon appstore

CalcPad is a simple mathematical formula calculator.

In addition to standard function calculator, define your own constants
and functions the user can extend the functionality.

In addition to the double-precision floating point arithmetic, arbitrary-precision
decimal (Big decimal) arithmetic (you can specify the number of decimal
places) can be.

The result and formula can be audio output by Text-to-speech(TTS).

For small devices, voice input function formula, select completions, and features the history of input and gesture input.

Formula is the same as normal. Numbers, operators, use parentheses.

The last result is stored as a constant "ans".

Examples

1+2*3/4+5^(6/7)

ans*2

Number of expressions, operators, space contained between the parentheses are ignored.

**+**Addition(Weak)**-**Subtraction(Weak)*****Multiplication(Strong)**/**Division(Strong)**^**Power(Strong)

## Priorities are as arithmetic operators. When you join without parentheses strong operator and weak operators are arithmetic operators stronger than before.

String("//") is treated as a comment. Description of constants
and functions can be used.

A number often used "user-defined constant" can be named as.

"Constant name" = "formula" represented.

Examples

c=2.99792458e-8

The User defined function can be described as "function name" = "formula".

The arguments in written expression: $0 - $9. The first argument is $0.

Examples

LengthCircle=2*PI*$0 // Circumference

AreaCircle=PI*($0^2) // Area of a circle

Dice=floor(1+random($0)) // Dice(1-6)

Fib=floor(1/sqrt(5)*(((1+sqrt(5))/2)^$0-((1-sqrt(5))/2)^$0)) // Fibonacci number

Menu "Check Settings" user-defined configuration information is displayed, you can change.

- $vars

Show and edit the user defined functions and constants - $clear

Erase all settings and history

The following constants are built in advance. In the formula can be written as a number.

PI = 3.141592653589793

E = 2.718281828459045

DecimalPrecision is zero or more, and arbitrary-precision big decimal calculations,
the number of decimal places represented DecimalPrecision.

The negative value less than zero, do the usual floating-point calculations
(default)

Examples

DecimalPrecision=-1 // Double-precision floating-point calculations10000000000000000-1

ans=1.0e16

DecimalPrecision=1 //big decimal calculation

10000000000000000-1

ans=999999999999999

Speech constant is controls of the audio output.

Speech=0

- 0 : Disable audio output (default)
- 1 : Only result
- 2 : Only formula
- 3 : formula and result
- 4 : Only define formula
- 7 : All

TextSize changes size of the Text

Example

TextSize=120.0

OutputVisibility specifies the output display area.

OutputVisibility=0 : Visible

OutputVisibility=1 : Invisible

abs(x) | the absolute value |

acos(a) | the arc cosine of an angle, in the range of 0.0 through pi. |

asin(a) | the arc sine of an angle, in the range of -pi/2 through pi/2 |

atan(a) | the arc tangent of an angle, in the range of -pi/2 through pi/2 |

atan2(y, x) | Converts rectangular coordinates (x, y) to polar (r, theta). |

cbrt(a) | the cube root of a double value |

ceil(a) | the smallest (closest to negative infinity) value that is not less than the argument and is equal to a mathematical integer. |

cos(a) | trigonometric cosine of an angle. |

cosh(x) | the hyperbolic cosine of a value. |

exp(a) | Euler's number e raised to the power of a value. |

expm1(x) | e^x -1 |

floor(a) | largest (closest to positive infinity) double value that is not greater than the argument and is equal to a mathematical integer. |

hypot(x,y) | sqrt(x^2 +y^2) |

log(a) | natural logarithm (base e) of a value. |

log10(a) | the base 10 logarithm of a value. |

log1p(x) | the natural logarithm of the sum of the argument and 1. |

max(a, b) | the greater of two values. |

min(a, b) | the smaller of two double values. |

pow(a,b) | the value of the first argument raised to the power of the second argument. |

random(x) | a value with a positive sign, greater than or equal to 0.0 and less than x. |

rint(a) | the value that is closest in value to the argument and is equal to a mathematical integer. |

signum(d) | the signum function of the argument; zero if the argument is zero, 1.0f if the argument is greater than zero, -1.0f if the argument is less than zero. |

sin(a) | the trigonometric sine of an angle |

sinh(x) | the hyperbolic sine of a value. |

sqrt(a) | the positive square root of a value |

tan(a) | the trigonometric tangent of an angle |

tanh(x) | the hyperbolic tangent of a value. |

degrees(r) | Converts an angle measured in radians to an approximately equivalent angle measured in degrees. |

radians(d) | an angle measured in degrees to an approximately equivalent angle measured in radians. |

ulp(d) | the size of an ulp of the argument. |

abs(x) | the absolute value of a value. |

max(a, b) | the greater of two values. |

min(a, b) | the smaller of two values. |

pow(a,b) | the value of the first argument raised to the power of the second argument. |

down(x,s) | s decimal digits rounded down |

round(x,s) | Rounded decimal digits s |

up(x,s) | s decimal digits rounded up |

Text-To-Speech (TTS). Also known as "speech synthesis", TTS enables your Android device to "speak" text of your language.

If TTS is not supported in your language, CalcPad trys to speak in English.

Speech input adds another dimension to staying in touch. Because CalcPad use Google's Voice Search Engine, formula representation is insufficient. For example, '*' is not 'multiply', but 'asterisk' and '/' is not 'divide', but 'slash'.

If Speech Input is not supported in your language, CalcPad trys to recognize in English.

Touch screens are a great way to interact with applications on mobile devices. With a touch screen, users can easily tap, drag, fling, or slide to quickly perform actions in CalcPad. If gesturefile('gestures') exists in SD-card, CalcPad uses external gesture file. This means that you can customize gesture as you like.

- enter : 'enter' or 'return'
- bs : BackSpace
- clear : clear edit box
- copy : copy to the clipboard
- paste : paste from the clipboard

If you have any question, plaese send us e-mail.

Message to M's software Lab.