Examples
Examples
Try the starting example
- JSON Boundary runs net of gates [ID,length m]
- [["A",32],["B",18]]
- Standard fence panel width (m)
- 3
- Explicit gates to procure (count)
- 2
- Whole panels by run
- [["A",10,2],["B",6,0]]
- Total whole panels
- 16
- Gate count
- 2
- Residual boundary gaps (m)
- 2
Try another scenario
- JSON Boundary runs net of gates [ID,length m]
- [["A",35],["B",20]]
- Standard fence panel width (m)
- 3
- Explicit gates to procure (count)
- 2
- Whole panels by run
- [["A",11,2],["B",6,2]]
- Total whole panels
- 17
- Gate count
- 2
- Residual boundary gaps (m)
- 4
Calculation method
Calculation method
Whole panels by run
J([[r[0],math.floor(r[1]/b),r[1]%b] for r in a])
Total whole panels
sum(math.floor(r[1]/b) for r in a)
Gate count
c
Residual boundary gaps (m)
sum(r[1]%b for r in a)
Symbols and units
- a
- JSON Boundary runs net of gates [ID,length m]
- b
- Standard fence panel width (m)
- c
- Explicit gates to procure (count)
Use the units shown. A list keeps the order in which you enter its values. The symbol ^ means “raised to the power of”.
Calculation steps and notation
sum(list) adds all entries in the list.
Assumptions & limits
Assumptions & limits
- Run lengths must already exclude approved gate openings. Residual gaps require an externally specified infill; calculator never treats an uncovered gap as safe. Supported limits: All numeric inputs must be finite. Only the explicitly described mathematical scenario is supported.
Are these inputs private?
These calculations run in your browser. A shared link contains the values you choose to share. Only questions submitted to the separate AI finder are sent to OpenAI.