Mark học AI

Video #90 · Learning through simulation · Part 5/6

How to get AI to build an interactive simulation with sliders

At 7% interest a year, how much will you have after 10 years? The formula is confusing, but drag a slider from 1 to 30 years and watch the money grow, and you get it right away.

Follow on YouTubeComing soonVideo in Vietnamese

Formulas are confusing

At seven percent interest a year, how much will you have after ten years? Reading the compound interest formula, most of us get confused.

SLIDERS

Drag it and get it

But with a slider, you drag the years from one to thirty and watch the bar of money grow. You get it right away, no formula needed.

AI BUILDS IT

Ready in seconds

Now you can ask AI to build that simulation in seconds. Claude, ChatGPT and Gemini can all write a small page with buttons, sliders and charts that runs right in the chat.

INTERACTIVE SIMULATION

Interactive simulations

That's an interactive simulation. You don't read the result, you drag, try and see for yourself.

IDEAS

Use it for all kinds of things

Use it for all kinds of things: a family budget, a coffee shop's prices, or how a ball flies when you change the throwing angle.

ASK MORE

Feeling and understanding

When it's done, ask AI: why does the curve bend upward? The simulation gives you the feeling, the explanation gives you the understanding.

PART 6

Simulation traps

Simulations are powerful, but they have traps too. The last part: when simulations fool you.

This article is based on the video Interactive simulations you can build yourself from the Mark học AI channel. Watch the video (in Vietnamese) to see the animations.