---
name: compound-interest-teaching-simulation-as-a-claude-artifact
description: "Get a live one-page compound interest simulation with three sliders, a compound vs simple chart and a caption that explains each change."
---

# Compound Interest Teaching Simulation as a Claude Artifact

Source: https://prompts-gpt.com/prompts/compound-interest-teaching-simulation-as-a-claude-artifact

Get a live one-page compound interest simulation with three sliders, a compound vs simple chart and a caption that explains each change.

## Prompt

```
Build Growing Money, a one-page explorable teaching simulation of compound versus simple interest to project or share in class. Layout: a heading, the question 'Why does money grow faster over time?', controls, a chart and a caption box below it.
Rules:
1. Exactly three labelled, keyboard-friendly sliders with live values: Starting amount 100 to 10,000; Yearly interest rate 0% to 12% in 0.5 steps; Years 1 to 40. Add a small Yearly/Monthly compounding switch.
2. Canvas chart with Year and Balance axes: compound line A = P(1 + r/n)^(nt), dashed simple line P(1 + rt), a legend and final values at the right end. Whole numbers with thousands separators; currency symbol in one constant.
3. A 'What changed' caption rewrites itself after each change in 2-3 plain sentences: the slider moved, old and new value, the change in final compound balance (amount and percent) and one rule-based insight. Add a live rule-of-72 line, hidden at 0%.
4. A Predict first toggle hides new results behind a Reveal button; include Reset and three original presets.
5. System fonts, calm light theme plus prefers-color-scheme dark, strong contrast, no external files or storage, and a one-line not-financial-advice note.
For another concept, keep this pattern and swap the formula, sliders and insight rules.
Output format: one complete HTML file in a single code block, then 3 short ideas to extend it.
```

## Usage Notes

Paste into Claude and open the result as an artifact: preview it, then share or publish the artifact link with students. It also works in ChatGPT canvas or Gemini Canvas, or saved as an .html file for a classroom screen.
