Week 4

The theme of the day is to learn VPython, an object oriented programming language used in our physics course. I worked with Kasper and Nynne, the one who is always correct, and is the best at everything. ;)

Ian wants us to read his souce code to his examples and comment it. He wants us to read it, understand it, and explain what it does.

The commented file can be found at this link: Commented VPython-file
This is not the best way to learn using VPython in my oppinion. The best would still be, as I said at the first exercise, to begiven an assignment and be walked through it the first couple of times.
By learning it this way you don't actually "learn" the programming languange, you learn what certain lines of codes mean. I think it could have been a good idea to lean the basics of an object oriented programming language. And it still seems a bit caotic.

The following was written in danish as a service to Kasper and Nynne.

Om vektorerne r, v og a, kan man sige, at deres længde er konstant, men deres retning, og derfor vektorerne, ændres i den jævne cirkelbevægelse.

Vi forkuserede på at lære programmet at kende, og forstå koden i stedet for at løbe det for hurtigt igennem. Derfor nåede vi desværre ikke at arbejde med alle filerne.


Back to Physics 1