Documentation Guides: Scientific Methods • User Guide
crvscience-calc-lab v0.5.0)CRV Science open-source Calc-Lab repository.
docs/SCIENTIFIC_METHODS.md)docs/USER_GUIDE.md)# GitHub
git clone https://github.com/bpwhite/crvscience-calc-lab.git
# Codeberg
git clone https://codeberg.org/crvscience/crvscience-calc-lab.git
# GitLab
git clone https://gitlab.com/bpcwhite/crvscience-calc-lab.git
# SourceForge
git clone https://git.code.sf.net/p/crv-science-apps/code -b crvscience-calc-lab

A standalone native Rust desktop application (eframe / egui + egui_plot + bundled rusqlite) featuring a Main Menu Hub, 8 Stage Portals with Focused 6-Module Drill-Down Views, an interactive Notation Studio, Timed Game Modes (Quick Blitz 90s, Medium 5m, Infinite), Step-by-Step Visual Method Walkthroughs, 6 Scientific Domain Lenses, and 8 Interactive Mathematical Laboratories across 48 modules.
docs/USER_GUIDE.mddocs/SCIENTIFIC_METHODS.mdvalidation/README.md · validation/calc_lab_validation_summary.json# 1. Run all unit & scientific validation tests across the workspace
cargo test --workspace
# 2. Run the headless verification suite (48 modules x 6 domains = 288 problems, Notation Studio, Mat2/RK4/PDE/Stats, SQLite)
cargo run --release -p calc-app -- --self-test
# 3. Launch the native desktop GUI (opens into the Main Menu Hub)
cargo run --release -p calc-app
| Shortcut / Control | Context | Action |
|---|---|---|
1 – 7 |
Global (when not typing in a text field) | Switch across the 7 tabs: 1 Main Menu, 2 DAG Map, 3 Notation Studio, 4 Lesson, 5 Runs & Arena, 6 Visual Lab, 7 Leaderboard |
Space |
Visual Lab → 1D Spectral PDEs (when not typing) | Play / pause 1D PDE time evolution animation |
Ctrl+F / Cmd+F |
Global | Open the 48-module Curriculum Index sidebar and focus module search |
Ctrl+S / Cmd+S |
Global | Export SQLite progress & run history snapshot to JSON |
Enter |
Runs & Arena / Notation Flash Drill | Submit answer (1st press); advance to next problem in Learning Mode (2nd press) |
F1 |
Global | Toggle About Calc-Lab modal |
Esc |
Global (when not typing) | Close About modal → dismiss reset prompt → return to Main Menu |
| Mouse Click | Multivariable Lab / ODE Phase Lab / OLS Scatter | Move gradient probe (x0, y0), re-seed ODE (x(0), y(0)), or append (x, y) regression point |
| Mouse Drag / Wheel / 2x-Click | Multivariable 3D Surface Mesh (z = f(x, y)) |
Orbit 3D yaw & pitch, zoom perspective scale, or double-click to reset camera |
| Copy LaTeX | Practice / Lesson / Notation Studio / Visual Lab | Copy clean rendered or parsed LaTeX expression source directly to clipboard |
| Export ODE / PDE CSV... | Visual Lab → ODE Phase & 1D PDE Sub-Labs | Save trajectory (t,x_rk4,y_rk4[,x_euler,y_euler]) or spatial PDE (x,u_initial,u_m_t0,u_evolved) curves to CSV |
calc-app)| Flag | Description |
|---|---|
| (none) | Launch the native desktop GUI (1460x910 viewport) |
-h, --help |
Print CLI usage instructions and exit |
-V, --version |
Print calc-app version and exit |
--self-test |
Run headless verification of 48 modules × 6 domains (288 problems), Notation Studio, symbolic differentiation, ODE/PDE/Matrix/Stats solvers, and SQLite ledger |
--screenshot <PNG> |
Render a 1600x1000 offscreen RGBA PNG via wgpu and exit |
--screenshot-view <1\|2\|3>, --view <1\|2\|3> |
Select offscreen view for --screenshot: 1 = Practice Walkthrough, 2 = ODE Phase Lab, 3 = Notation Studio |
calc-core):validate_input_syntax).NaN propagation (adaptive_simpson), Riemann & Darboux sums, and Taylor series expansion.Mat2): direct singular-value decomposition via $(a_{11} \pm a_{22})^2 + (a_{21} \mp a_{12})^2$ avoiding $A^T A$ condition-number squaring, plus Frobenius-scaled rank and spectral phase classification.RK4) vs Explicit Euler ODE integrators, multi-start damped Newton-Raphson planar equilibria detection, and marching-squares nullclines.HeatDiffusion, WaveEquation with full displacement + kinetic mechanical energy conservation, and periodic AdvectionDiffusion) with live mode-spectrum visualization.ln_gamma, ln_factorial), Normal/Exponential/Poisson/Binomial probability evaluators, Bayesian binary updating, and filtered OLS linear regression (n >= 3, $\text{df} = n - 2 \ge 1$).Verified deterministically by cargo test --workspace and logged in validation/calc_lab_validation_summary.json & validation/rk4_convergence_table.csv:
| Verification Suite | Key Measured Metric | Value |
|---|---|---|
Curriculum & Domain Sweep (t1) |
Verified (module, domain) problem pairs (48 x 6) |
288 / 288 pass (mean 2.67 steps/problem) |
ODE Step-Halving Convergence (t2) |
RK4 vs Euler empirical order on logistic IVP ($t \in [0, 2]$) | RK4 order 3.9909 (abs err 6.26e-11 at $\Delta t = 0.0125$) vs Euler 1.0026 (1.88e-3) |
1D Heat Diffusion PDE (t3) |
Max $L^2$ energy decay & Dirichlet boundary error | Max $L^2$ err 2.22e-16; max boundary err 3.25e-16 |
1D Wave & Phase Equilibria (t4) |
Harmonic oscillator RK4 drift ($\Delta t = 0.05$) & Wave energy conservation | RK4 radius err 1.37e-8 (vs Euler 0.1704); WaveEquation energy ratio 1.0 (±1e-6 at $t = \pi/(2c)$) |
APP-PREPRINT-03): Calc-Lab: Interactive Calculus, Linear Algebra, and Differential Equation Solver WorkbenchCITATION.cff@article{White2026CalcLab,
author = {White, Bryan P.},
title = {Calc-Lab: Interactive Calculus, Linear Algebra, and Differential Equation Solver Workbench},
journal = {CRV Science Apps Preprints},
year = {2026},
doi = {10.5281/zenodo.24222372},
url = {https://crvscience.com/apps/preprints/calc-lab-scientific-calculus-ode},
note = {Software v0.5.0; Preprint ID: APP-PREPRINT-03}
}
CITATION.cff)cff-version: 1.2.0
message: "If you use this software or its validation datasets, please cite both the software repository and the accompanying CRV Science Apps monograph."
type: software
title: "Calc-Lab: Interactive Multi-Domain Scientific Calculus, Linear Algebra, and Differential Equation Verification Workbench"
version: "0.5.0"
date-released: "2026-11-14"
doi: "10.5281/zenodo.24222372"
url: "https://crvscience.com/apps"
repository-code: "https://github.com/bpwhite/crvscience-calc-lab"
license: "GPL-3.0-or-later"
authors:
- family-names: "White"
given-names: "Bryan P."
affiliation: "CRV Science Labs"
orcid: "https://orcid.org/0000-0003-4191-3511"
keywords:
- "scientific calculus"
- "Runge-Kutta"
- "differential equations"
- "linear algebra"
- "Rust"
preferred-citation:
type: article
title: "Calc-Lab: Interactive Calculus, Linear Algebra, and Differential Equation Solver Workbench"
authors:
- family-names: "White"
given-names: "Bryan P."
affiliation: "CRV Science Labs"
orcid: "https://orcid.org/0000-0003-4191-3511"
year: 2026
journal: "CRV Science Apps Preprints"
doi: "10.5281/zenodo.24222372"
url: "https://crvscience.com/apps/preprints/calc-lab-scientific-calculus-ode"
notes: "Preprint ID: APP-PREPRINT-03"
references:
- type: article
title: "The CRV Science App Network: Twenty Open-Source Rust Programs for Science, Data, and Simulation"
authors:
- family-names: "White"
given-names: "Bryan P."
affiliation: "CRV Science Labs"
orcid: "https://orcid.org/0000-0003-4191-3511"
year: 2026
journal: "CRV Science Apps Preprints"
doi: "10.5281/zenodo.24222398"
url: "https://crvscience.com/apps/preprints/crv-science-public-apps-network"
notes: "Preprint ID: APP-PREPRINT-01 (CRV Science Open-Source Apps Network Overview)"
Version: 0.5.0
Repository: crvscience-calc-lab
src/)tests/)#[cfg(test)] unit tests in src/Preprints/calc-lab-scientific-calculus-ode.pdfPreprints/crv-science-public-apps-network.pdfdocs/SCIENTIFIC_METHODS.mddocs/USER_GUIDE.mdcargo test --release
Wiki: Calc_Lab_Scientific_Methods
Wiki: Calc_Lab_User_Guide
Wiki: Home