Two Unit Vectors Added: Heading
Q. î and ĵ are unit vectors, along x- and y- axis respectively. What angle does the vector î + ĵ make with the x-axis, in degrees?
Outputs
direction?
How it's solved
Solved with Vectors
Given
- from “unit vectors”
- from “unit vectors”
- from “along x- and y- axis”
Find .
Working
- law of cosines
- law of sines
Conclusion
The two parts are equal, so their sum runs along the diagonal of a square, halfway between the two axes.
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 :two_unit_vectors_added_heading do4 kind :numerical5 describes "î and ĵ are unit vectors along x- and y- axis respectively. %{direction}, in degrees?"6 asks direction: "What angle does the vector î + ĵ make with the x-axis"7end1require_relative "../questions/two_unit_vectors_added_heading"2require_relative "../science/motion_in_a_plane/vectors"34solve :two_unit_vectors_added_heading, using: Vectors do5 deduce_from "unit vectors", A: 1, B: 16 deduce_from "along x- and y- axis", phi: "90 deg"7 take direction: :beta8 answer find_value(:direction, in: "deg")910 conclusion "The two parts are equal, so their sum runs along the diagonal of a square, halfway between the " \11 "two axes."12endplayground.rb
1require_relative "../solutions/two_unit_vectors_added_heading"23play_with :two_unit_vectors_added_heading do4 title "Two Unit Vectors Added: Heading"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 |