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"7end
1require_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."12end
1require_relative "../solutions/two_unit_vectors_added_heading"23play_with :two_unit_vectors_added_heading do4 title "Two Unit Vectors Added: Heading"5end