Workflow 5 steps, run in order in one session. Every step was executed against the engine and the output below is what it produced.
balance[principal_, monthly_, rate_, months_] := principal (1 + rate)^months + monthly ((1 + rate)^months - 1)/rateNo output - this step sets something up for the next one.
after30years = N[balance[20000, 500, 0.07/12, 360]]772315.4473951627doublingYears = N[Log[2]/(12 Log[1 + 0.07/12])]9.930955714667654N[D[balance[20000, 500, r/12, 360], r] /. r -> 0.07]1.687752907426951*^7Plot[balance[20000, 500, r/12, 360], {r, 0.02, 0.10}]-Graphics-All recipes · Function reference · Use this from an MCP client