Skip to content

Instantly share code, notes, and snippets.

@tomkooij
Created February 18, 2021 08:01
Show Gist options
  • Save tomkooij/6a7a81144b2b04c8a641713695231710 to your computer and use it in GitHub Desktop.
Save tomkooij/6a7a81144b2b04c8a641713695231710 to your computer and use it in GitHub Desktop.
Model dat gebruikt is in verkeerde achtergronden bug modelleertaal issue 48
<modelleertaal>
<startwaarden>
t = 0
dt = 0,001
g = 9,81
vy = 25
y = 0
x = 0
vx = 1
</startwaarden>
<modelregels>
vy = vy - g * dt
y = y + vy * dt
x = x + vx * dt
t = t + dt
ALS y <= 0 DAN
STOP
EINDALS
</modelregels>
</modelleertaal>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment