What an activity defines
- An equation — the mathematical relationship, written in TrueMath’s writing equations.
- The variables it relates — and, for each, whether it is calculable by this activity (that is, whether the activity can solve for it).
- A title and description — so the activity’s purpose is clear to the people reading the domain.
Solving in more than one direction
An activity is not locked to a single input-output direction. Given a payment, a rate, and a term, an activity can solve for the loan amount; given a target payment, it can solve for the affordable purchase price. The author defines which of an activity’s variables are calculable — the ones it may solve for; within that set, which variable is actually computed depends on the values you provide and what you ask to solve for. This is what lets a domain answer what-if questions naturally rather than only running a fixed calculation.Activity state
An activity can be active or disabled. Disabled activities remain part of the domain definition but are not used when running calculations.You define activities and their equations when authoring a domain.
To see the activities in a published domain, use
GET /v1/domains/:id/activities.
