Logo Image
Alkamar, the village in the moonlight





Here are some commands you may want to try (cut and paste these instructions into the upper window):

// Type expressions:
a=2+2

// Type parentheses:
b=2*(2 - 2)

// Type parentheses inside parentheses:
2*(2-((2+1)/3) - 2)

// Previous result stored in memory as rem:
min (rem, 0.1)

// Use the familiar signs for the basic arithmetic operations: +-*/^
((1+2-1)/(0.5*2))^2

// Use all regular Java functions:
max (a,b)

// And some BigInteger functions:
gcd (8,6)

// And a few homemade functions:
factorial(6)
digitSum (factorial(6))

// Built in constants:
A = 2+2
radius = sqrt(A/PI)
Fi*Fi-Fi
log(E*E)

// Ask questions:
?isPPrime(100000039)
?roots(1,2,1)

// List numbers:
:primes(11,119)
:factors (22)

// Turn on the int flag:
~sqrt(10)
~10*2.2

// Convert numbers:
$fromHex(ff)
$toHex(255)
$fromRadix(cc, 16)
$toRadix(7,2)
$fromRoman(IV)
$toRoman(666)


This form is a casual way to enter a few lines of text and have it processed by the server. Do not use it for a lot of text. (If your browser is Internet Explorer, it will only send the first two thousand characters to the server.)