Data commit
This commit is contained in:
parent
7387c8f97b
commit
cb5bb5e222
199093 changed files with 3378972 additions and 0 deletions
|
|
@ -0,0 +1,17 @@
|
|||
10 OVER 1: CLS
|
||||
20 LET theta=1
|
||||
30 LET g=9.81
|
||||
40 LET l=0.5
|
||||
50 LET speed=0
|
||||
100 LET pivotx=120
|
||||
110 LET pivoty=140
|
||||
120 LET bobx=pivotx+l*100*SIN (theta)
|
||||
130 LET boby=pivoty+l*100*COS (theta)
|
||||
140 GO SUB 1000: PAUSE 1: GO SUB 1000
|
||||
190 LET accel=g*SIN (theta)/l/100
|
||||
200 LET speed=speed+accel/100
|
||||
210 LET theta=theta+speed
|
||||
220 GO TO 100
|
||||
1000 PLOT pivotx,pivoty: DRAW bobx-pivotx,boby-pivoty
|
||||
1010 CIRCLE bobx,boby,3
|
||||
1020 RETURN
|
||||
Loading…
Add table
Add a link
Reference in a new issue