{
  "icon" : "function",
  "id" : "51DD4408-4868-5997-9D52-B72FD59C122D",
  "lines" : [
    {
      "id" : "CF2123CD-BAFB-5FAF-9254-CC3BE657DFEC",
      "source" : "# A function machine"
    },
    {
      "id" : "22DBFFE1-D199-5045-872D-1EAFE73C2CD5",
      "source" : "\/\/ Triple the input, then subtract two."
    },
    {
      "id" : "69E1D229-85ED-5F11-AF84-C894DC85D120",
      "source" : "f(x) = 3*x - 2"
    },
    {
      "id" : "2CC41126-98B0-556C-B75D-FC08935DD45A",
      "source" : "f(0)"
    },
    {
      "id" : "1FDF5E25-6FC1-58D9-9907-D98BB111800F",
      "source" : "f(1)"
    },
    {
      "id" : "DA3D12BD-C716-51C2-A176-ADBBB9646CD0",
      "source" : "f(4)"
    },
    {
      "id" : "73F41828-1150-58DA-8C5B-4CA1373583DD",
      "source" : "input = 10 in -10 … 10"
    },
    {
      "id" : "D23AD563-0DAE-5088-B567-50521B36A8BE",
      "source" : "f(input)"
    },
    {
      "id" : "2984F23B-591F-547D-8491-E1E09CEAAD00",
      "source" : ""
    },
    {
      "id" : "7583F378-09DC-53F8-8BC8-03352B631D10",
      "source" : "# Constant rate of change"
    },
    {
      "id" : "2532FA56-6B00-5AEC-B850-986AA38B173D",
      "source" : "\/\/ Each step up in the input adds 3 to the output."
    },
    {
      "id" : "2D4A7EA4-6C2E-5B25-96E4-EC191B308D30",
      "source" : "f(1) - f(0)"
    },
    {
      "id" : "64B2EE68-B88C-5E63-9347-81F616F372AC",
      "source" : "f(5) - f(4)"
    },
    {
      "id" : "9CFC2CA8-6E64-5458-8385-52B06F49D112",
      "source" : "f(1) - f(0) == f(5) - f(4)"
    },
    {
      "id" : "9E4A0615-57CD-5BE6-8F3D-0CB00F726E2A",
      "source" : ""
    },
    {
      "id" : "1D042477-D314-5B8C-9F8F-D0198C0A80C5",
      "source" : "# Run it backward"
    },
    {
      "id" : "5795D0F9-34A9-585F-9B70-67B3C272CF34",
      "source" : "\/\/ Which input gives the target? Add 2, then divide by 3."
    },
    {
      "id" : "03ADF1E2-CE90-548A-89E4-BB6AE8367444",
      "source" : "target = 10 in -20 … 30"
    },
    {
      "id" : "8CCD35AA-804A-514B-B579-BB434772EDBD",
      "source" : "input needed = (target + 2)\/3"
    },
    {
      "id" : "75252FF0-CF08-5D66-BC32-145990149672",
      "source" : "f(input needed) == target"
    }
  ],
  "numberStyle" : {
    "decimal" : ".",
    "grouping" : ",",
    "secondaryGroupSize" : 3
  },
  "title" : "Function machines"
}