Created
February 18, 2021 08:01
-
-
Save tomkooij/6a7a81144b2b04c8a641713695231710 to your computer and use it in GitHub Desktop.
Model dat gebruikt is in verkeerde achtergronden bug modelleertaal issue 48
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<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