course_planning:183_projects:s23_week_1_problem_toy_boat_problem_solution

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

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] hallsteincourse_planning:183_projects:s23_week_1_problem_toy_boat_problem_solution [2023/01/11 15:56] (current) hallstein
Line 37: Line 37:
   * **Question**: When do you expect the boat to move faster relative to the shore: when it is pointed directly upstream/against the current or downstream with the current?   * **Question**: When do you expect the boat to move faster relative to the shore: when it is pointed directly upstream/against the current or downstream with the current?
   * **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**: What is different?+  * **Question**: Algebraically, what is different?
   * **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%>Solution code for Project 1: part B\\ https://www.glowscript.org/#/user/pcubed/folder/solutions/program/RiverCrossingSolution/edit</WRAP> <WRAP download 60%>Solution code for Project 1: part B\\ https://www.glowscript.org/#/user/pcubed/folder/solutions/program/RiverCrossingSolution/edit</WRAP>
 +
 +
 +Solution Code:
 +
 <code> <code>
 GlowScript 2.9 VPython GlowScript 2.9 VPython
Line 196: Line 200:
     t = t + dt     t = t + dt
 </code> </code>
 +
 +Changes to given code:
 +{{course_planning:project_solutions:boat-codesoln.jpg}}
  • course_planning/183_projects/s23_week_1_problem_toy_boat_problem_solution.1673451564.txt.gz
  • Last modified: 2023/01/11 15:39
  • by hallstein