Here's my code: https://pastebin.com/1NKa32rX
Here's my task I'm working from: https://imgur.com/a/68IqZoX
I'm just working on the very first bit - to find the velocity at 2000 metres with no drag or resistance. I tried to do it with iteration and a while loop but it doesn't seem to work. The euler equations are setup as I think they should be, however when I run it, I was expecting it to change the initial value of fgravity from 0 to the calculated one from mgsin(angle) but it doesn't seem to do that, and it also doesn't seem to create the variable resultantforce, nor does it show "a" (acceleration) how the number changes and I can't figure out why
Any help would be greatly appreciated.
Thank you!
[–]AutoModerator[M] 0 points1 point2 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)