DEG uses degrees: sin(30) = 0.5. RAD uses radians: sin(pi/6) ≈ 0.5. Explicit angle units override this choice.
Find a task
No matching tools. Try a different word.
Bisection · real numbers · 64 working digits. Tolerances: xAbs = xRel = fRel = 1e−12.
Syntax & example
Uses Calculator arithmetic, angle and word settings. Definitions stay in this page unless needed by saved history.
No definitions yet. Define rate = 0.21, then total(netAmount) = netAmount*(1+rate).
Names, dependencies & examples
Names are case-sensitive ASCII letters, then letters, digits or underscores; up to 32 characters. Built-in functions, units, constants, Ans and M are reserved. Define a name before referring to it. Cycles and recursion are refused; a rejected edit keeps the previous definition.
Variables: rate = .21. Functions: name total, parameter netAmount, formula netAmount*(1+rate). Calculate total(100) for 121. Functions have 1–8 unique parameters. Ans/M are not allowed in definition formulas: save an explicit named value instead.
Bit operations & word wrapping
Ordinary +, −, *, / and ^ are mathematical operations: 127+1 is 128. Use word(x) to wrap explicitly; wadd(a,b), wsub(a,b), wmul(a,b) wrap their arithmetic result to the chosen width. Signed words use two’s complement. Overflow and lost bits are reported.
Bit functions require exact integers in the selected range or explicitly constructed words. Shift counts must be integers from 0 to one less than the width. word(255,8,signed) is −1 with pattern 0xFF; lshr(-2,1) in 8 signed is 127, while ashr(-2,1) is −1. ^ remains power; % remains percentage.
Base syntax & examples
0b101.01 = 21/4, 0xA.F = 175/16. Repeating digits use parentheses: decimal 0.1 converts to 0b0.0(0011). The selected source base reads free digits such as FF; a prefix must agree with it. Copied output includes the prefix.
Convert result retains the evaluated value and its approximation status; it does not reinterpret display digits in From.
Saved inputs and variables
Result
Rounded display
Working digits
Up to 64 working digits; these are not guaranteed correct or exact.
Steps for your calculation
Last operations shown. Open Step details for every available step.
Step details
Powers & logsTrigonometryMore functions
History
Off by default. Up to 50 calculations, for 30 days each, within 1 MiB. Datasets, matrices, methods and only needed variables/settings are saved with each calculation. Older open versions need a reload before Clear can affect all history versions.
No calculations yet.
Keep either the ratio or the product constant
Let the known pair be input a and output b, and the new input be c. Direct proportion gives new output (b / a) × c. Inverse proportion gives new output (a × b) / c.
Choose the relationship from the problem. A matching pair alone does not establish which model applies. Direct proportion needs a nonzero known input; inverse proportion needs a nonzero new input.
Worked example: known input 2, output 3; new input 4
For direct proportion, the output per input is 3/2 and the new output is (3/2)×4=6. For inverse proportion, the fixed product is 2×3=6 and the new output is 6/4=3/2.
Load example fills the form without calculating. Choose its primary action to work it out.
The method and worked example here are original. Sources describe the underlying mathematics or notation; calculation choices and limits are in the precision and syntax guide.