CalculusCalculator v2.2.0 Help

Input syntax, feature usage and quick reference

0. Interface and Menus

MenuItemsPurpose
FileSave As / Open / Cache / Settings / ExitProject files, cache and interface settings
FeaturesHome / All-in-One / Blockly Editor / Expression CalculatorOpen the corresponding tab
AboutGitHub Link / Web Version / Guide / HelpProject links and built-in help

7 kinds of tabs: Home, All-in-One, Help, Settings, Cache, Blockly Editor, Expression Calculator. Several tabs of the same kind can be open at once (titles are numbered automatically); tabs can be closed and reordered by dragging.

The All-in-One page is the main workspace, divided left to right into three areas with draggable splitters:

  1. Define area: pick a type (Function / Set / Vector / Plane Geometry / Solid Geometry) and define functions and objects, grouped by type in a tree list.
  2. Compute area: pick a computation type (Compute, Derivative, Integral, Equation, Inequality, System of Equations, System of Inequalities, Plane Compute, Solid Compute, Transform, Solve Triangle — 11 in total).
  3. Plot area: pick a mode (Plane Geometry / Solid Geometry / Function), check objects and click Plot or Update.
Enter shortcut: pressing Enter in the main input boxes triggers the corresponding button (e.g. "Compute", "Save"), so no mouse click is needed.

1. Input Syntax

Math symbols

MeaningInputMeaningInput
Arithmetic+ - * /Powerx**2
Root / absolute valuesqrt(x) / abs(x)Logarithmlog(x, a), log(x) (ln)
Trig / inverse trigsin cos tan cot sec csc
asin acos atan acot
Hyperbolicsinh cosh tanh
Constantse, pi, oo, IParenthesesalways round ()

Examples: 2*x, x**2, sqrt(x), log(x,2), log(x), sin(x).

Direct LaTeX input

Prefix an expression with a half-width dollar sign $ to write LaTeX directly, e.g. $\frac{x}{2} → x/2, $x^{2} → x**2, $\sqrt{x} → sqrt(x), $\int_{0}^{1} x^2 \mathrm{d}x.

It must start with a half-width $; otherwise the expression is parsed as SymPy / Python syntax. Both styles can be mixed in one expression.

Sets and intervals

FormInputFormInput
EnumerationFiniteSet(1,2,3)Set builderImageSet(Lambda(x, f(x)), Domain)
Closed [a,b]Interval(a,b)Open (a,b)Interval.open(a,b)
Left open (a,b]Interval.Lopen(a,b)Right open [a,b)Interval.Ropen(a,b)
Union / intersection / complementUnion(A,B), Intersection(A,B)
Complement(A,B)
Built-in setsReals, Complexes, Integers
Naturals, Rationals, EmptySet

Sets are used for inputs such as function domains and solve ranges, e.g. FiniteSet(0,1) restricts roots to those points, and ImageSet(Lambda(n, n*pi), Integers) is the general solution of sin(x)=0.

Custom functions and differential equations

2. Computation and Results

EngineUse caseOutput
Python built-inSimple numeric evaluationPlain text
MpmathHigh-precision numerics (configurable digits)Plain text
SymPySymbolic computationLaTeX + plain text
LaTeX code generationConvert a Python expression into LaTeXLaTeX source

Denominator rationalization: results of derivatives, integrals, equation solving and transforms are rationalized when the denominator contains radicals — 1/sqrt(2) is shown as sqrt(2)/2.

3. Vectors and Triangle Solving

Vectors (Define area → Vector): enter a name and the x / y components (expressions such as sqrt(3) or pi/2 are accepted) and save. You can inspect the expression, norm, direction angle and unit vector, and compute addition, subtraction, dot product and angle.

Triangle solving (Compute area → Solve Triangle): give exactly 3 conditions among angles A/B/C and sides a/b/c. Five cases are supported:

CaseGivenSolutions
ASA / AASTwo angles and one side (included / opposite)Unique
SASTwo sides and the included angleUnique
SSATwo sides and a non-included angleTwo, one or none (labelled "Solution 1", "Solution 2")
SSSThree sidesUnique

4. Function Plotting

In the Plot area choose "Function mode": type an expression (e.g. sin(x)) or check a function defined in the Define area, set the domain endpoints (default [-10, 10], expressions allowed) and click Plot or Update. Graphs are rendered by Matplotlib, discontinuities are handled automatically (e.g. 1/x breaks at 0), the y-axis scales to the visible range, and zooming, panning and saving are supported.

5. Plane / Solid Geometry

In the Define area choose "Plane Geometry" or "Solid Geometry", then pick a creation method, fill in the object name and the parameters (separated by half-width commas), and press Enter or click Save. Parameters refer to the names of already defined objects.

Plane geometry constructors (19)

CategoryMethods (parameters)
BasicPoint (x, y), line (point1, point2), segment (point1, point2), circle (center, radius) or (three points), triangle (three points), polygon (vertex list)
Circle constructionTwo points as a diameter; center plus a point on the circle
Line constructionPerpendicular bisector of a segment; parallel / perpendicular through a point; angle bisector of two lines; angle bisector of three points (second is the vertex)
Triangle constructionMedian / altitude (triangle, vertex index 0/1/2), midsegment, incircle, excircle (triangle, vertex index)

Solid geometry constructors (12)

CategoryMethods
Points and linesPoint (x, y, z), line (point1, point2), segment (point1, point2)
Parallel / perpendicularPlane parallel to a plane through a point; plane perpendicular to a line through a point; line parallel / perpendicular to a line through a point; line perpendicular to a plane through a point
Plane constructionA line plus a point outside it; two intersecting or parallel lines
Feet of perpendicularsFrom a point to a plane; from a point to a line

Plotting: choose the matching mode in the Plot area; all objects are checked by default — uncheck what you do not need and click Plot or Update. Solid mode renders a rotatable 3D view (transparent planes, coloured lines).

6. Geometry Computation

In the Compute area choose "Plane Compute" or "Solid Compute" and pass the names of defined objects as parameters (comma-separated).

Plane computation (32)Operations
PointsDistance, midpoint, collinearity, translation, rotation about a fixed point, reflection in a line
LinesLine equation, slope, intersection, point-to-line distance, angle between lines, parallel / perpendicular test
CirclesCenter / radius / area / circumference, intersections of two circles, tangent line
TrianglesArea / perimeter / circumcenter / incenter / centroid / orthocenter, circumradius and inradius, right / isosceles / equilateral test
Polygons / vectorsArea / perimeter; vector between two points, norm, dot product, angle
Solid computation (22)Operations
PointsDistance / midpoint, point-to-plane distance, point-to-line distance, projection onto a plane / line, coplanarity
LinesDirection vector, intersection, angle, parallel / perpendicular test, projection onto a plane
PlanesPlane through three points, normal vector, angle between planes / intersection line / parallel and perpendicular tests
Line-plane / volumeIntersection of a plane and a line, angle between a line and a plane; tetrahedron volume
Vectors / oblique projection3D vectors (norm, dot and cross product, angle); oblique projection, inverse transform, area ratio
Examples: points A(0,0), B(3,0), C(0,4) with "triangle area" and parameters A,B,C → 6; points A(0,0,0), B(1,0,0), C(0,1,0), D(0,0,1) with "tetrahedron volume" and A,B,C,D → 1/6.

7. Expression Calculator

Open the expression canvas via "Features → Expression Calculator": expressions, equations and points are laid out as cards, formulas are colored by expression-tree depth (red → green → blue → purple, cycling every four levels), and any sub-structure can be selected, dragged, transformed or solved.

Adding and selecting

The "Transform" dialog

Select a node and click Transform. If the node is the root of an equation, the solve dialog opens instead.

SymPy transforms (no input)Node operations
Simplify, expand, factor, cancel, together, apart, trig simplify, rationalizeReplace, append, multiply, reciprocal, divide, square, square root, power, substitution
(replace / append / multiply / divide / power / substitution need an expression)

Results can overwrite the original expression (default) or be saved as a copy. Substitution takes a symbol (e.g. t) and an expression (e.g. x+1, i.e. t = x+1); the program solves for x, replaces it in the whole card and expands, recording the relation at the card's upper right.

Dragging nodes and solving

Common equations and geometric expressions

Add common equation offers five templates; parameters accept numbers or expressions, and a blank field keeps its symbol:

TypeFormParameters
Circle(x−a)²+(y−b)²=r²a, b, r
LineAx+By+C=0 / y=kx+mA, B, C / k, m
Ellipsex²/a²+y²/b²=1a, b
Hyperbolax²/a²−y²/b²=1 / y²/a²−x²/b²=1a, b
Parabolay²=2px / y²=−2px / x²=2py / x²=−2py / y=a(x−h)²+kp / a, h, k

Choosing Create from conditions on the left derives the parameters instead: general conditions are through point and parameter relation; each type adds its own — line (slope, intercept), circle (line through the center, radius), ellipse and hyperbola (eccentricity, axis lengths, focal distance), parabola (directrix, focus — standard forms only). Every solution set produces a card; insufficient conditions keep the parameters, while conflicting or non-real conditions are reported.

Add geometric expression: point-line distance, intersection of two lines, midpoint of the intersection segment, triangle area (three points / line + conic + point). Points, lines and curves can be picked from existing cards or typed directly ((2, 3), y=x+1, x^2/9+y^2/4=1); results remain fully transformable cards.

Cards and undo

8. Productivity Tools

Cache

Open the Cache tab via "File → Cache" to see all cached expressions; double-click one to copy it. Every input box also has three quick buttons on its right:

ButtonFunctionDescription
KeyboardVisual inputOpens the formula editor for graphical symbol input
OpenOpen cacheShows the cache list; double-click an entry to fill the input box
PlusSave to cacheStores the current text (duplicates move to the top; the icon briefly becomes a check mark)

Visual formula input

A MathLive-based panel (bundled in math_input/): click the keyboard icon at the right of an input box, pick structures (fractions, roots, superscripts, parentheses), Greek letters, operators and common functions from the toolbar, then click OK to convert the formula into a SymPy expression in the input box.

9. Settings and Saving

Open Settings via "File → Settings": interface language (Chinese / English) and theme (light / dark) apply immediately and are persisted for the next launch; the help page follows the language automatically. Settings are stored as JSON in AppData/Local/CalculusCalculator/CalculusCalculator/settings.json.

Save settings control which data is written when saving (all checked by default):

CategoryContents
DataFunction list, equation / inequality lists, vector list, cache contents
GeometryPlane geometry objects, solid geometry objects
InterfaceAll input texts, combo selections, formula view contents, tab numbers / language / theme

Unchecked categories are omitted from the file; when loading, a missing category leaves the current state unchanged. Project files use the .cca extension (JSON) and open by double-click.

10. Blockly Editor and Startup

Open the Blockly editor via "Features → Editor" and assemble blocks to build a visual computation flow without writing code:

Startup: a lightweight splash screen is shown; the QWebEngine kernel is initialized only when the Blockly editor, the formula input or the Expression Calculator is first opened, and lazy loading further speeds up startup.

Additional Resources

This help follows the language specifications of Python 3.12 and SymPy 1.14. For more information see the Python docs, the SymPy docs and the Mpmath docs.

Version History

VersionRelease dateHighlights
v2.2.02026-11-21New "Expression Calculator" (expression canvas): layered colors, node-level selection / dragging / transforms, substitution, equation solving and systems (with Vieta's formulas), expression combination, common equations derived from conditions, geometric expressions, card folding and properties, whole-canvas undo; fully bilingual interface
v2.1.02026-10-1018 standalone feature tabs merged into the All-in-One page; Blockly menu moved into Features; startup optimizations (lazy web engine, lightweight splash, fewer redundant refreshes)
v2.0.02026-08-14Blockly editor and splash screen; formula editor upgraded to MathLive; English help added; dual-mode Blockly code preview

Thank you for using it!

LiMingkang

2026/11/21