Learn

Learning preferences

Make learning more comfortable. Changes apply immediately.

Enlarges page content, including diagrams and their labels. You can also use your browser’s zoom.

Choose the colours that are easiest for you to distinguish. Applies to lesson diagrams and lab plots. Labels, shapes, hatching and line patterns also distinguish meanings. Source photographs and raw image brightness stay unchanged; mask-only views are available for image overlays.

ExampleComparisonSample link

Saved in this browser on this device. Preferences are separate from progress backups.

SCIENCE · INVESTIGATE AND EXPLAIN

Distinguish a design change from calculation error

Compare hardware and gain effects with a separately labeled numerical approximation.

Learning outcome: Separate model sensitivity, time-step approximation, measurement residuals and physical model inadequacy.

Starting recap

A residual needs a stated order: observation minus prediction. A numerical approximation can differ from the exact solution without any new physical effect.

All lessons are open directly. Your saved experiments remain when you leave and return.

Try

A held 20 W input gives Euler 22°C and exact 21.9032516393°C after 10 s for the stated standard plant.

Open the experiment

Predict

Predict the sign of Euler minus exact for that first heating interval, then predict whether reducing conductance changes only energy use.

Experiment

Capture standard and insulated hardware at gain 6 W/K, then compare gain 2 and gain 6 on insulated hardware. Keep changed factors separate. Calculate the supplied Euler-minus-exact paper error.

Compare matched thermal designs

Original matched thermal devices · synthetic requirements · Original fictional one-node device and assigned costs. Uniform temperature, constant heat capacity/conductance/ambient, held heater input and exact exponential propagation within each sample. No spatial gradient, evaporation, radiation law, random noise, active cooling, integral control or physical safety/efficiency/reliability certification. Public cases are exposed teaching practice. Nominal scenario and zero sensor correction are fixed; a/b select hardware and gain.

Reset keeps your prediction, captures and practice history.

Compare hardware with the same controller setting

Active design: Standard enclosure. Both runs start at 20°C, use the same selected gain of 6 W/K, nominal sensing, zero correction and a 20 W heater limit for twelve 10-second intervals. They share heat capacity 100 J/K and ambient 20°C. Standard conductance is 1 W/K; insulated conductance is 0.5 W/K. Costs are 3 and 5 fictional tokens.

The controller requests 10 W + gain × (30°C − corrected indication). The actuator clips this request to 0–20 W; there is no active cooling. The fixed 10 W term is a standard-enclosure feedforward assumption, not integral control. Changing insulation alone can change the final temperature as well as energy demand.

  1. 1. Sense and correctTrue temperature → raw indication → subtract selected correction. This lab uses current sensing with no bias or correction.
  2. 2. Request and limit powerCorrected indication is information for the controller. Requested watts become bounded applied watts at the actuator.
  3. 3. Account for energyApplied heater energy enters the thermal node; stored energy changes and signed heat transfers to ambient. The next true temperature feeds the sensor.

These are original synthetic device assumptions. The exact exponential solution describes a uniform thermal node under constant power during each interval, not measured material performance or a physical prototype.

Temperature comparison · fixed axes: 0–120 s and 15–45°C
152025303540450306090120Temperature (°C)Elapsed time (s)

Solid navy: active Standard enclosure. Long-dashed brown: matched Insulated enclosure. Dotted red with circles: active corrected indication at command times. Gray dashes: 30°C target. Pale band: 29–31°C criterion range, required only from 90 s onward.

Lines connect sampled states for comparison; they are not the exact curved path between samples. In this nominal case sensor points coincide with the true state at command times; there is no terminal command at 120 s.

Active applied heater power · fixed axes: 0–120 s and 0–20 W
051015200306090120Applied power (W)Elapsed time (s)

Horizontal segments are held inputs, not a smooth ramp. Requested power is tabulated rather than plotted on the applied-power scale. At least one request is outside 0–20 W; the actuator limits it.

Separate requirements under identical test conditions; judgments use full model precision
Supplied requirementStandard enclosureInsulated enclosure
Temperature at 90, 100, 110 and 120 s: every value in [29,31]°C29.964, 29.988, 29.996, 29.999 °C
Meets supplied criterion
30.735, 30.757, 30.765, 30.768 °C
Meets supplied criterion
True trajectory peak ≤32°C29.999°C at 120 s
Meets supplied criterion
30.768°C at 120 s
Meets supplied criterion
Applied heater energy ≤2000 J1887.809 J
Meets supplied criterion
1558.581 J
Meets supplied criterion
Resource cost ≤6 tokens3 tokens
Meets supplied criterion
5 tokens
Meets supplied criterion
All four supplied requirementsAll met in this model runAll met in this model run

Each exact held-input interval moves monotonically toward its fixed equilibrium. Therefore interval endpoints bound the continuous peak, and the 90–120 s endpoint checks also bound the temperature between those samples in this particular model. This argument does not extend automatically to a real device or another plant model. Lower energy cannot cancel a failed temperature criterion.

All thirteen true-temperature states for the matched designs
Original model states; both runs begin from the same initial condition
Time (s)Standard (°C)Insulated (°C)
020.00000020.000000
1021.90325221.950823
2023.62538523.806503
3025.18363625.571681
4026.59359927.250770
5027.86938728.847969
6029.02376730.066082
7029.67407330.511891
8029.89118530.675049
9029.96367130.734762
10029.98787130.756616
11029.99595130.764614
12029.99864830.767541
Active design: all twelve command and energy receipts

Requested observation time and effective sample time are separate fields. Correction is subtracted from the raw indication. Positive ambient energy is outward; a negative value would mean inward transfer. Displayed rounding may leave a tiny apparent balance difference.

Standard enclosure · command formation and actual plant response
Step index / interval (s)True start → end (°C)Requested / effective observation (s)Raw / correction / corrected (°C)Controller error (K)Requested / applied (W)Request clippedHeater input (J)Stored change (J)To ambient (J)Balance residual (J)
0: 0–1020.000000 → 21.9032520 / 020.000 / 0.000 / 20.00010.00070.000 / 20.000Upper clipping200.000000190.3251649.6748360.00e+0
1: 10–2021.903252 → 23.62538510 / 1021.903 / 0.000 / 21.9038.09758.580 / 20.000Upper clipping200.000000172.21333027.7866700.00e+0
2: 20–3023.625385 → 25.18363620 / 2023.625 / 0.000 / 23.6256.37548.248 / 20.000Upper clipping200.000000155.82506544.1749350.00e+0
3: 30–4025.183636 → 26.59359930 / 3025.184 / 0.000 / 25.1844.81638.898 / 20.000Upper clipping200.000000140.99634959.0036510.00e+0
4: 40–5026.593599 → 27.86938740 / 4026.594 / 0.000 / 26.5943.40630.438 / 20.000Upper clipping200.000000127.57877372.4212270.00e+0
5: 50–6027.869387 → 29.02376750 / 5027.869 / 0.000 / 27.8692.13122.784 / 20.000Upper clipping200.000000115.43804784.5619530.00e+0
6: 60–7029.023767 → 29.67407360 / 6029.024 / 0.000 / 29.0240.97615.857 / 15.857No clipping158.57396365.03057893.5433850.00e+0
7: 70–8029.674073 → 29.89118570 / 7029.674 / 0.000 / 29.6740.32611.956 / 11.956No clipping119.55561621.71123497.8443820.00e+0
8: 80–9029.891185 → 29.96367180 / 8029.891 / 0.000 / 29.8910.10910.653 / 10.653No clipping106.5288767.24855499.2803210.00e+0
9: 90–10029.963671 → 29.98787190 / 9029.964 / 0.000 / 29.9640.03610.218 / 10.218No clipping102.1797432.42001699.7597270.00e+0
10: 100–11029.987871 → 29.995951100 / 10029.988 / 0.000 / 29.9880.01210.073 / 10.073No clipping100.7277330.80795199.9197820.00e+0
11: 110–12029.995951 → 29.998648110 / 11029.996 / 0.000 / 29.9960.00410.024 / 10.024No clipping100.2429620.26974499.9732180.00e+0

Active whole-run ledger: 1887.808894 J heater input = 999.864807 J stored-energy change + 887.944087 J signed transfer to ambient. Model residual: -1.14e-13 J. Energy accounting agreement does not validate the device physically.

Your comparison: predict which hardware change reduces energy, then inspect whether every requirement still passes. Capture both hardware settings at the same gain and explain one mechanism or trade-off. Repeating this deterministic run checks reproducibility, not field reliability or a new independent trial.

Final true temperature 29.999 degC; heater input 1887.809 J.

Peak 29.999 degC at 120 s; cost 3 assigned tokens. Tail band met; peak limit met; energy budget met; resource budget met. Synthetic model evidence, not a physical prototype or reliability estimate.

Captures preserve recipes and replay their calculated results. They are synthetic model evidence, not physical measurements.

Understand

Ask what changed before explaining a difference

Two temperature curves differ. Did the hardware change, did the controller change, did an instrument misread the temperature, or did a calculation approximate the same equations differently? These questions need different comparisons. Start a notebook table with columns for changed input, preserved conditions, result, interpretation and unresolved alternative. A numerical difference alone does not identify its cause.

Capture standard and insulated hardware at gain 6 W/K. Both start at 20°C, use the same 100 J/K capacity, nominal ambient and 120-second duration. The hardware conductance changes from 1 to 0.5 W/K and its stipulated token cost changes from three to five. The final temperatures are about 29.998648°C and 30.767541°C; input energies are 1,887.808894 J and 1,558.581071 J. Describe this as sensitivity to the supplied hardware choice, not uncertainty in one measurement.

Change a controller parameter separately

Hold insulated hardware fixed and compare gain 2 with gain 6 W/K. The final temperature changes from about 31.480538°C to 30.767541°C. Energy changes from 1,624.624719 J to 1,558.581071 J. Record the tail-band outcome as well as the endpoint. Raising this gain improves the listed nominal comparison, but that does not establish a universal monotonic rule for every gain, delay or plant.

Conductance changes the heat-loss mechanism; gain changes how a temperature error changes the requested power. The fixed 10 W feedforward term remains in both runs. Separating these comparisons lets you say which variable was tested. Changing hardware and gain together might produce a useful candidate, but it would not isolate either effect.

Compare two calculations of one interval

The widget propagates the stipulated one-node plant exactly during each constant-input interval. A separate paper approximation, forward Euler, instead keeps the starting temperature-change rate for the whole step:

Tnext ≈ T + Δt × [P − G(T − Ta)]/C.

Use T = Ta = 20°C, P = 20 W, G = 1 W/K, C = 100 J/K and Δt = 10 s. Euler gives 20 + 10 × 20/100 = 22°C. The exact exponential gives 21.9032516393°C. Define the numerical error here as Euler minus exact: +0.0967483607 K. Euler initially overpredicts because the heat loss increases as the body warms, while this step retains the zero-loss starting rate.

This error is not an observed thermometer residual or a confidence interval. Both values come from calculations of the same stipulated model. Agreement between two solvers could support an implementation check while leaving the model’s physical assumptions entirely untested.

Do not confuse integration steps with control updates

For the same held 20 W input over 100 seconds, one Euler step gives 40°C, whereas the exact solution gives approximately 32.642411°C. That is a paper held-input example. It is not what the widget’s controller does over ten intervals: the controller can change power after each ten-second measurement. A comparison that changes both numerical step size and controller-update timing mixes two effects.

For an optional calculation, split a held-input interval into smaller Euler steps while keeping the input fixed and compare with the exact endpoint. No code is needed; a calculator and short table suffice. Numerical artifacts must not be interpreted as evidence that a physical device oscillates or becomes unstable. The thermal-capacitance reference also reminds us that representing a body by one temperature is itself conditional.

Transfer: a second approximation step

Keep the first held-input example but use a five-second Euler step. Compute its endpoint and compare it with the supplied exact endpoint 20.975411510°C. Explain what became smaller and what has not been established.

Check the shorter-step transfer

Euler gives 20 + 5 × 20/100 = 21°C. Euler minus exact is about +0.024588490 K, smaller than the ten-second single-step error. This checks a different, shorter interval for the same held input. It does not demonstrate physical accuracy, estimate a sensor's uncertainty or compare complete controller trajectories over a common duration.

If actual measurements later become available, retain them separately and define residual as observation minus prediction. Investigate calibration, boundary mismatch and spatial gradients before tuning parameters to hide every discrepancy. Return to models and residuals or continue to prototype evidence with the original failed capture intact.

Apply

Euler predicts 22°C and the exact model predicts 21.9032516393°C for one 10 s interval. Their difference is:

Public practice checks a specific claim. It does not establish independent mastery.

Explain why the 100 s held-input example is not a ten-step controller run and why solver agreement is not validation of real hardware.

Continue

Completion requires a saved prediction, at least one capture and a reflection. Presence checks do not grade your reasoning.

Skipping retains experiments and awards no mastery.

Save a science backup or import one

Science work is stored locally in this browser, separately from mathematics and AI. It does not sync automatically. Use this science-only backup; this checkout's older all-subject export does not include science.

A legacy file is available only when the complete snapshot fits the 36 MB limit. For larger snapshots, prepare a complete file set below; never discard notebooks to make a smaller file.

Matching imported notebook drafts replace their current drafts. Omitted lessons and known first attempts remain. Export your current work first if you want to retain both drafts.

Complete file sets and course backups

A file set can hold more work than one science file. Keep its manifest and every part together. Each file is limited to 36 MB. This format needs this version of LearnAI or a compatible newer version; older versions can use only the legacy single-file backup above.

The set includes every saved science course and global continuation at this moment. Later edits need a new export. A conflicting tab exports its own visible work, which may differ from saved work in another tab.

0 file(s) selected. File order and filenames do not determine identity. Missing, changed or conflicting parts block the entire restore; no good part is applied by itself.

Science storage: loading. No account or remote computation is required.