--- title: "Area of an Irregular Space — ZX81 Program" type: "article" slug: "area-of-an-irregular-space-zx81-program" url: "http://localhost/article/area-of-an-irregular-space-zx81-program/" markdown_url: "http://localhost/article/area-of-an-irregular-space-zx81-program.md" published_at: "2026-03-13T23:53:37+00:00" modified_at: "2026-03-13T23:53:38+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "Short ZX81/TS1000 BASIC program that calculates the total area of an irregular polygon by dividing it into triangles and applying Heron's formula to each. The user inputs the number of triangles and the three side lengths of each; the program accumulates the total area. Originally written by John South of Bexhill-on-Sea, Sussex for calculating lawn…" category: - name: "Timelinez" slug: "timelinez" taxonomy: "category" url: "http://localhost/category/periodicals/timelinez/" post_tag: - name: "BASIC (programming language)" slug: "basic-programming-language" taxonomy: "post_tag" url: "http://localhost/tag/basic-programming-language/" - name: "TS 1000" slug: "ts1000" taxonomy: "post_tag" url: "http://localhost/tag/ts1000/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" model: - name: "Timex/Sinclair 1000" slug: "ts-1000" taxonomy: "model" url: "http://localhost/model/ts-1000/" publication_r: id: 21571 title: "Timelinez" type: "periodical" url: "http://localhost/periodical/timelinez/" volume: "2" issue: "11" issues_articles: - id: 38811 title: "Timelinez v2 n11" type: "issue" url: "http://localhost/issue/timelinez-v2-n11/" pages: "7" pubdate: "November 1984" archive_link: false --- # Area of an Irregular Space — ZX81 Program Short ZX81/TS1000 BASIC program that calculates the total area of an irregular polygon by dividing it into triangles and applying Heron’s formula to each. The user inputs the number of triangles and the three side lengths of each; the program accumulates the total area. Originally written by John South of Bexhill-on-Sea, Sussex for calculating lawn fertilizer quantities.