{
  "address": "76dfe2ce8f7f7f40fbdeb8f58b950adb",
  "category": "other",
  "question": "What is the simple interest and total amount owed on a principal of $1000 at an annual rate of 5% over 3 years?",
  "answer": "$1,150.00",
  "askedBy": {
    "kind": "guest",
    "display": "method deck",
    "stamped": false,
    "id": null
  },
  "answeredBy": "method",
  "madeAt": "2026-09-30T22:39:30.722Z",
  "validUntil": null,
  "validityClass": "forever",
  "sources": [
    {
      "label": "Principles of Corporate Finance",
      "url": null
    }
  ],
  "supersedes": null,
  "supersededBy": null,
  "isSeed": false,
  "seedSource": null,
  "seedAttribution": null,
  "duplicateOfQid": null,
  "publishedAt": null,
  "unpublishedAt": null,
  "voteCount": 0,
  "queuedForSubstrate": false,
  "answerMethod": "method",
  "unsourced": false,
  "source": {
    "kind": "edition_page",
    "value": "Brealey, Myers, Allen, Principles of Corporate Finance, 13th ed., Chapter 3 (The Time Value of Money), section on simple interest",
    "retrieved_utc": "2026-09-30T19:31:29Z"
  },
  "qsha256": "e57dd07b2abc01376fab86fc90c7e96e26a42361dc0115dea418cd68e6378f26",
  "runOne": null,
  "cardContractVersion": "card_contract/1",
  "deck_id": "method-deck",
  "deck_title": "Method Deck",
  "method": {
    "name": "Simple interest",
    "version": "1",
    "source_url_or_file": "methods/simple-interest.cjs",
    "sha256_of_method_file": "30df7eda3f957ac2199ab95fe37633e5b8cfe266b53044939d7e918bcfe7e7c9"
  },
  "receipt": {
    "inSubstrate": false,
    "local": true,
    "modelCallsAtMint": 0,
    "tokensAtMint": 0
  },
  "method_deck": {
    "inputs": [
      {
        "name": "principal",
        "type": "number",
        "unit": "currency units",
        "required": true,
        "description": "Starting amount",
        "min": 0
      },
      {
        "name": "annual_rate_percent",
        "type": "number",
        "unit": "%",
        "required": true,
        "description": "Simple annual interest rate",
        "min": 0
      },
      {
        "name": "years",
        "type": "number",
        "unit": "years",
        "required": true,
        "description": "Term of the loan or deposit",
        "min": 0
      }
    ],
    "outputs": [
      {
        "name": "interest",
        "unit": "currency units",
        "description": "Total interest accrued over the term"
      },
      {
        "name": "total_amount",
        "unit": "currency units",
        "description": "Principal plus interest"
      }
    ],
    "steps": [
      "Convert the annual rate to a decimal: r = annual_rate_percent / 100.",
      "interest = principal * r * years.",
      "total_amount = principal + interest.",
      "Round both interest and total_amount to 2 decimals (money to cents)."
    ],
    "constants": [],
    "examples": [
      {
        "name": "worked example",
        "inputs": {
          "principal": 1000,
          "annual_rate_percent": 5,
          "years": 3
        },
        "expected": {
          "answer": "$1,150.00"
        },
        "check": "hand computation: interest = 1000 * 0.05 * 3 = 150.00; total = 1000 + 150 = 1150.00"
      },
      {
        "name": "test vector: fractional year",
        "inputs": {
          "principal": 2500,
          "annual_rate_percent": 4.5,
          "years": 2.5
        },
        "expected": {
          "answer": "$2,781.25"
        },
        "check": "hand computation: interest = 2500 * 0.045 * 2.5 = 281.25; total = 2500 + 281.25 = 2781.25"
      }
    ],
    "disclaimer": null,
    "deck_category": "finance"
  },
  "status": "minted",
  "kind": "method",
  "provenanceClass": "own_question",
  "provenance": {
    "schema": "card_provenance/2.0.0",
    "chain": [
      {
        "source": {
          "kind": "edition_page",
          "value": "Brealey, Myers, Allen, Principles of Corporate Finance, 13th ed., Chapter 3 (The Time Value of Money), section on simple interest",
          "retrieved_utc": "2026-09-30T19:31:29Z"
        },
        "sha256": "6a2d3cce6366c90dca31b4e87c5c945e1cba9ba38a12ca06c4702b0fc91606d0",
        "supersedes": null,
        "added_utc": "2026-09-30T22:39:30.722Z",
        "added_by": "method:Simple interest",
        "why": "the method that computed this answer",
        "check": null,
        "status_label": "pending",
        "signature": null
      }
    ]
  }
}
