--- title: "Try This Program on Your TS2068" type: "article" slug: "try-this-program-on-your-ts2068" url: "http://localhost/article/try-this-program-on-your-ts2068/" markdown_url: "http://localhost/article/try-this-program-on-your-ts2068.md" published_at: "2024-11-06T01:32:39+00:00" modified_at: "2024-11-06T01:32:40+00:00" featured_image: url: "http://localhost/wp-content/uploads/2022/04/20230809-041332.jpg" excerpt: "20 PRINT \"Enter four numbers between 1 and 20.\" 30 INPUT a,b,c,d 35 CLS 40 LET t=0 50 LET x1=125+125* SIN (a*t) 60 LET y1=87+87* SIN (b*t) 70 LET x2=125+125* SIN (c*t) 80 LET y2=87+87*SIN (d*t) 90 PLOT x1,y1 100 DRAW x2-x1,y1-y1 110 LET t=t+.01 120 GO TO 50" category: - name: "Synapse" slug: "synapse" taxonomy: "category" url: "http://localhost/category/periodicals/synapse/" post_tag: - name: "TS 2068" slug: "ts2068" taxonomy: "post_tag" url: "http://localhost/tag/ts2068/" - name: "Type-in program" slug: "type-in-program" taxonomy: "post_tag" url: "http://localhost/tag/type-in-program/" model: - name: "Timex/Sinclair 2068" slug: "ts-2068" taxonomy: "model" url: "http://localhost/model/ts-2068/" publication_r: id: 28014 title: "Synapse" type: "periodical" url: "http://localhost/periodical/synapse/" volume: "2" issue: "12" issues_articles: - id: 53313 title: "Synapse v2 n12" type: "issue" url: "http://localhost/issue/synapse-v2-n12/" pages: "2" pubdate: "December 1984" archive_link: false --- # Try This Program on Your TS2068 ``` 20 PRINT "Enter four numbers between 1 and 20." 30 INPUT a,b,c,d 35 CLS 40 LET t=0 50 LET x1=125+125* SIN (a*t) 60 LET y1=87+87* SIN (b*t) 70 LET x2=125+125* SIN (c*t) 80 LET y2=87+87*SIN (d*t) 90 PLOT x1,y1 100 DRAW x2-x1,y1-y1 110 LET t=t+.01 120 GO TO 50 ```