Scientific & Matrix Studio
Evaluate symbolic math expressions, plot 2D curves, and invert 2x2/3x3 matrices locally.
Unit Converter
Convert length, mass, pressure, energy, and data units with precision formulas.
Number Base & Bitwise Tool
Convert Decimal, Binary, Hex, and Octal with BigInt two's complement precision.
Why Traditional Button-Only Web Calculators Frustrate Engineers & Students
Standard desktop and phone calculator apps force you to enter complex formulas one number at a time. If you make a typo on the seventh term of the quadratic formula or a signal-processing transfer function, you have to clear the entire register and start over.
The KitWharf Scientific, Graphing & Matrix Calculator combines three core engineering tools in one zero-upload browser workspace:
- Live Symbolic Expression Evaluator & History Tape (Tab 1): Edit complete formulas like
2 * sin(pi / 4)^2 + sqrt(144) - 3!with live variables (x, a, b) and instant RAD/DEG switching. - 600-Sample 2D Function Graphing Plotter (Tab 2): Plot up to three functions
f1(x), f2(x), f3(x)simultaneously on an interactive Cartesian canvas with crosshair hover inspection and PNG export. - 2ร2 & 3ร3 Matrix Algebra Solver (Tab 3): Compute determinants
det(A), tracestr(A), cofactor/adjugate matrix inversesA^-1, and matrix productsA ร B.
Reference Table: Core Scientific Functions, Constants & Linear Algebra Formulas
| Category | Syntax / Formula | Mathematical Definition & Notes |
|---|---|---|
| Trigonometric | sin(x), cos(x), tan(x) |
Respects active RAD or DEG toggle |
| Inverse Trig | asin(x), acos(x), atan(x) |
Returns angle in RAD or DEG |
| Logarithms | ln(x), log10(x), log2(x) |
Natural log (base e), common log (base 10), binary log |
| Powers & Roots | x^y, sqrt(x), cbrt(x), n! |
Exponentiation, square/cube root, and integer factorial |
| Constants | pi, e, phi |
ฯ โ 3.14159265, Euler's e โ 2.7182818, Golden ratio ฯ โ 1.6180339 |
| 2ร2 Matrix Inverse | A^-1 = (1 / (ad - bc)) * [d, -b; -c, a] |
Valid whenever det(A) = ad - bc โ 0 |
| 3ร3 Matrix Inverse | A^-1 = adj(A) / det(A) |
Transpose of the cofactor matrix divided by det(A) |
Deep Dive: How Symbolic Expression Parsing & IEEE-754 Precision Work
When you type an algebraic expression like 2x + 3(a - b)^2 - 5! into the KitWharf Scientific Calculator, the client-side parser executes a three-stage lexical and mathematical pipeline inside your browser's RAM:
- Implicit Multiplication & Operator Normalization:
Handwritten math relies heavily on implicit multiplication (
2x,3(x+1),)(). Standard programming languages throw syntax errors when an asterisk (*) is omitted. Our preprocessor scans adjacent token boundaries and automatically expands2xinto2*x,^into exponentiation**, and trailing factorialsn!into recursive gamma/factorial calls before evaluation. - RAD vs. DEG Angular Domain Mapping:
In calculus and signal processing, angles are dimensionless arc lengths on the unit circle (Radians, where a full revolution is
2ฯ โ 6.283185). In mechanical engineering, civil surveying, and architecture, angles are measured in Degrees (360ยฐ). When DEG mode is active, forward trigonometric functions automatically scale inputs byฯ / 180, while inverse functions (asin,acos,atan) scale outputs by180 / ฯ. - 12-Significant-Digit Rounding Filter:
Raw IEEE-754 64-bit floating-point arithmetic can produce binary representation artifacts such as
0.1 + 0.2 = 0.30000000000000004orsin(pi) = 1.2246467991473532e-16. By normalizing outputs through a 12-significant-digit precision filter, exact integer and rational identities resolve cleanly while preserving full scientific mantissa accuracy.
Worked Linear Algebra Walkthrough: Inverting a 3ร3 System Matrix
In 3D graphics transformations, electrical circuit mesh analysis (Kirchhoff's laws), and structural finite-element modeling, solving a linear system A ยท x = b requires finding the determinant det(A) and the inverse matrix A^-1.
Given a 3ร3 matrix A:
A = [ 4 2 1 ]
[ 0 3 -1 ]
[ 2 1 5 ]
- Step 1 โ Cofactor Expansion Along Row 1 (
det(A)):det(A) = 4 * (3*5 - (-1)*1) - 2 * (0*5 - (-1)*2) + 1 * (0*1 - 3*2)det(A) = 4 * (16) - 2 * (2) + 1 * (-6) = 64 - 4 - 6 = 54Becausedet(A) = 54 โ 0, matrixAis non-singular and invertible.
- Step 2 โ Construct the 3ร3 Cofactor Matrix
Cand Transpose to Adjugateadj(A) = C^T: Each entryC_ijis(-1)^(i+j)times the determinant of the 2ร2 minor formed by removing rowiand columnj. - Step 3 โ Divide by
det(A): In Tab 3 (Matrix Algebra Solver) of the Scientific, Graphing & Matrix Calculator, entering these nine values immediately outputsdet(A) = 54,Trace tr(A) = 12, the exact decimal inverseA^-1, and the matrix productA ร B.
Multi-Function 2D Graphing Playbook: Finding Roots, Maxima & Intersections
When plotting functions in Tab 2 (2D Function Graphing Plotter):
- Comparing Growth Rates: Plot
f1(x) = 0.15 * x^2 - 3(quadratic parabola) againstf2(x) = cos(x) * 2(harmonic wave) andf3(x) = sin(x) * x / 2(modulated envelope). - Finding Intersection Coordinates
f1(x) = f2(x): Move your cursor across the HTML5 Canvas where the blue and green curves cross; the live header readout displaysx,f1(x),f2(x), andf3(x)to three decimal places (0.001resolution). - Zooming & Viewport Framing: Use Zoom In / Zoom Out or set custom
[X Min, X Max, Y Min, Y Max]bounds to inspect local extrema, asymptotes, and zero-crossings, then click Export Plot PNG to embed the chart directly into lab reports or engineering documentation.