An Umbrella in the Rain
Q. Rain falls straight down at 35 m/sm/s, and a wind then blows it sideways at 12 m/sm/s. At what angle from the vertical should you tilt your umbrella, in degrees?
Inputs
Outputs
tilt?
How it's solved
Solved with Vectors
Given
- m/s
- m/s
- from “sideways”
Find .
Working
- law of cosines
- law of sines
Conclusion
The rain arrives along the sum of its fall and the wind's push, and the umbrella should face along that sum, tilted into the wind.
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 :umbrella_in_the_rain do4 kind :numerical5 describes "Rain falls straight down at %{rain_speed}, and a wind then blows it sideways at %{wind_speed}. %{tilt}, in degrees?"6 given rain_speed: "35 m/s"7 given wind_speed: "12 m/s"8 asks tilt: "At what angle from the vertical should you tilt your umbrella"9end1require_relative "../questions/umbrella_in_the_rain"2require_relative "../science/motion_in_a_plane/vectors"34solve :umbrella_in_the_rain, using: Vectors do5 take rain_speed: :A, wind_speed: :B6 deduce_from "sideways", phi: "90 deg"7 take tilt: :beta8 answer find_value(:tilt, in: "deg")910 conclusion "The rain arrives along the sum of its fall and the wind's push, and the umbrella " \11 "should face along that sum, tilted into the wind."12endplayground.rb
1require_relative "../solutions/umbrella_in_the_rain"23play_with :umbrella_in_the_rain do4 title "An Umbrella in the Rain"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 |