Esempio n. 1
0
def test_question_1b():
    question = "A vector has the components A(x) = 2.5 and A(y) = 7.5. What angle is vector A making with the positive x-axis?"
    answer = answer_question(question)
    assert answer == "72 degrees"
Esempio n. 2
0
def test_question_4e():
    question = "While the angle between a given vector and the positive x-axis is decreasing from 90 degrees to 0 degrees, the magnitude of the vertical component of this vector"
    answer = answer_question(question)
    assert answer == "increases"
Esempio n. 3
0
def test_question_4b():
    question = "As the angle between a given vector and the horizontal axis decreases from 90 degrees to 0 degrees, the magnitude of the vertical component of this vector"
    answer = answer_question(question)
    assert answer == "decreases"
Esempio n. 4
0
def test_question_3b():
    question = "A vector with a magnitude of 17 units makes an angle of 20 degrees with the positive x-axis. The magnitude of the horizontal component of this vector is"
    answer = answer_question(question)
    assert answer == "16 units"
Esempio n. 5
0
def test_question_1e():
    question = "What is the angle that a vector with the components A(x) = 2.5 and A(y) = 7.5 makes with the positive x-axis?"
    answer = answer_question(question)
    assert answer == "72 degrees"
Esempio n. 6
0
def test_question_1():
    question = "A vector is given by its components, A(x) = 2.5 and A(y) = 7.5. What angle does vector A make with the positive x-axis?"
    answer = answer_question(question)
    assert answer == "72 degrees"