Across the Current
Q. A motorboat heads north at 25 km/hkm/h through a current that flows at 10 km/hkm/h toward 60° east of south. How fast does it actually move, in km/h?
Inputs
Outputs
speed?
How it's solved
Solved with Vectors
Given
- km/h
- km/h
- from “toward 60° east of south”
Find .
Working
- km/hm/s
- km/hm/s
- law of cosines
- km/h
- m/skm/h
- km/hto 3 significant figures
Conclusion
The boat's own velocity and the current's add as vectors, head to tail; the current partly opposes the boat, so the sum is less than either would suggest by adding their speeds.
The web of concepts
given read from the words equation asked
The Ruby that solves it
The question and its solution are small Ruby files. The engine runs them.
1require_relative "../physics"23question :across_the_current do4 kind :numerical5 describes "A motorboat heads north at %{boat_speed} through a current that flows at %{current_speed} toward 60° east of south. %{speed}, in km/h?"6 given boat_speed: "25 km/h"7 given current_speed: "10 km/h"8 asks speed: "How fast does it actually move"9end1require_relative "../questions/across_the_current"2require_relative "../science/motion_in_a_plane/vectors"34solve :across_the_current, using: Vectors do5 take boat_speed: :A, current_speed: :B6 deduce_from "toward 60° east of south", phi: "120 deg"7 take speed: :R8 answer find_value(:speed, in: "km/h", figures: 3)910 conclusion "The boat's own velocity and the current's add as vectors, head to tail; the current " \11 "partly opposes the boat, so the sum is less than either would suggest by adding " \12 "their speeds."13endplayground.rb
1require_relative "../solutions/across_the_current"23play_with :across_the_current do4 title "Across the Current"5endThe laws it drew on
| quantity | written | units | within | from |
|---|---|---|---|---|
| volume | — | — | Vectors | |
| mass | — | — | Vectors | |
| speed | — | — | Vectors | |
| density | — | — | Vectors | |
| number of moles | — | — | Vectors | |
| angular frequency | — | — | Vectors | |
| work | — | — | Vectors | |
| current | — | — | Vectors | |
| temperature | — | — | Vectors | |
| pressure | — | — | Vectors | |
| time | — | — | Vectors | |
| power | — | — | Vectors | |
| total path length | — | — | Vectors | |
| energy | — | — | Vectors | |
| gravitational potential | — | — | Vectors | |
| coefficient of friction | — | — | Vectors | |
| charge | — | — | Vectors | |
| acceleration | — | — | Vectors | |
| velocity | — | — | Vectors | |
| displacement | — | — | Vectors | |
| angular velocity | — | — | Vectors | |
| force | — | — | Vectors | |
| angular momentum | — | — | Vectors | |
| linear momentum | — | — | Vectors | |
| electric field | — | — | Vectors | |
| average velocity | — | — | Vectors | |
| magnetic moment | — | — | Vectors | |
| relative velocity | — | — | Vectors | |
| impulse | — | — | Vectors | |
| first vector | — | 0 … ∞ | Vectors | |
| second vector | — | 0 … ∞ | Vectors | |
| angle between | — | 0 … 3.142 | Vectors | |
| resultant | — | 0 … ∞ | Vectors | |
| resultant direction | — | 0 … 3.142 | Vectors | |
| direction | — | -3.142 … 3.142 | Vectors | |
| x component | — | — | Vectors | |
| y component | — | — | Vectors |