jbev_sin
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| jbev_sin [2026/05/27 16:09] – admin | jbev_sin [2026/09/15 23:10] (current) – admin | ||
|---|---|---|---|
| Line 37: | Line 37: | ||
| 1 line | 1 line | ||
| - | < | + | < |
| - | < | + | < |
| + | |||
| + | **CP/M MBasic friendly** \\ | ||
| + | |||
| + | < | ||
| + | 20 A=30+30*SIN(T) | ||
| + | 30 B=30+30*COS(T*I) | ||
| + | 40 L=INT(ABS(A-B)/ | ||
| + | 50 P=INT((A+B)/ | ||
| + | 55 IF P<0 THEN P=0 | ||
| + | 60 PRINT TAB(P); | ||
| + | 70 PRINT STRING$(L," | ||
| + | 80 PRINT " | ||
| + | 85 PRINT STRING$(L," | ||
| + | 90 T=T+.1 | ||
| + | 100 I=I+.001 | ||
| + | 110 GOTO 20</ | ||
| **VAX VMS Basic** \\ | **VAX VMS Basic** \\ | ||
jbev_sin.1779898141.txt.gz · Last modified: by admin
