Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
course_planning:183_projects:s23_week_1_problem_toy_boat_problem_solution [2023/01/11 15:39] – hallstein | course_planning:183_projects:s23_week_1_problem_toy_boat_problem_solution [2023/01/11 15:56] (current) – hallstein | ||
---|---|---|---|
Line 37: | Line 37: | ||
* **Question**: | * **Question**: | ||
* **Expected Answer**: ...we expect it to move faster relative to shore when it is pointed with the current... | * **Expected Answer**: ...we expect it to move faster relative to shore when it is pointed with the current... | ||
- | * **Question**: | + | * **Question**: |
* **Expected Answer**: ...when upstream the two velocities are opposite each other and we need to subtract one from the other, but when it is pointed downstream they are in the same direction and add... | * **Expected Answer**: ...when upstream the two velocities are opposite each other and we need to subtract one from the other, but when it is pointed downstream they are in the same direction and add... | ||
Line 139: | Line 139: | ||
<WRAP download 60%> | <WRAP download 60%> | ||
+ | |||
+ | |||
+ | Solution Code: | ||
+ | |||
< | < | ||
GlowScript 2.9 VPython | GlowScript 2.9 VPython | ||
Line 196: | Line 200: | ||
t = t + dt | t = t + dt | ||
</ | </ | ||
+ | |||
+ | Changes to given code: | ||
+ | {{course_planning: |