Checking your account

You can read the lesson while its saved answers and constructions load. Learning controls will open once that work is ready.

Simulating Physical Systems

Inspect the simulator’s time step

Coding challenges

The timestep triples

A larger timestep makes a simple cooling simulator generate impossible-looking training trajectories.

BOTIE

Does the value below ambient establish a new physical effect?
The inputs we are comparing

Current temperature

Same in both cases

30

Ambient temperature

Same in both cases

20

Cooling rate k

Same in both cases

0.5

Timestep

Short step

1

Coarse step

3
Result for short step
25
Choose an explanation to test
A different ambient temperature and a shorter step

This check uses the pieces from “Expose the numerical update”.

BOTIE

The pump is now at 40, ambient is 10, the rate is 0.2 and timestep is 0.5. Predict one Euler update without reusing the old cooling difference.
Current temperature
40
Ambient temperature
10
Cooling rate k
0.2
Timestep
0.5

Use a number, text, or an array matching the requested result. A named result uses field names, such as {"count": 2}. For a matrix, put each row in brackets. Saving your prediction runs your current construction on these inputs and checks the earlier examples too.

Build a construction in the workspace above first. This case will test those pieces.

What comparison separates numerical error from a wrong cooling law?

Check timestep convergence separately from validation against measured equipment.

Constant-rate scalar cooling model; the result is an approximation, not a measured physical response.

Continue the courseGive Two Policies the Same Simulated Shift →
← The journey map