DataMuseum.dk

Presents historical artifacts from the history of:

RegneCentralen RC759 "Piccoline"

This is an automatic "excavation" of a thematic subset of
artifacts from Datamuseum.dk's BitArchive.

See our Wiki for more about RegneCentralen RC759 "Piccoline"

Excavated with: AutoArchaeologist - Free & Open Source Software.


top - metrics - download

⟦a5e44da54⟧ TextFile

    Length: 594 (0x252)
    Types: TextFile
    Names: »BOLD1.VRD«

Derivation

└─⟦37cf4f704⟧ Bits:30003051 Dymos II - Modeller
    └─⟦this⟧ »MODEL2\BOLD1.VRD« 

TextFile

g:= 9.82        // meter/sek^2
a:= 1           // gr▶9b◀ftens h▶91◀ldning
x:= 2.3         // meter
y:=10           // meter
dt := 0.04      // sek
h4              // 4.ord. Runge-Kutta

func juster
dtj := -dt
dt0 := 0
For i:=1 to 15 do
  dtj:= dtj/2
  x := x+vx*dtj
  y := y+Vy*dtj
  dt0:= dt0+dtj
  If (y-abs(x*a))*dtj<0 then dtj:=-dtj
next
Vy := Vy - g*dt0
return t + dt0
endfunc

func st▶9b◀d(a)
v0 := vx
vx := (v0*(1-a*a)+2*a*vy)/(1+a*a)
vy := (vy*(a*a-1)+2*a*v0)/(1+a*a)
return t
endfunc

h1:integrate := euler
h2:integrate := rk2
h4:integrate := rk4