Sovi.AI - AI Math Tutor

Scan to solve math questions

QUESTION IMAGE

question # 3 multiple choice in your program, your ball dropped. what c…

Question

question # 3
multiple choice
in your program, your ball dropped. what condition made the ball stop when it reached the axes you had drawn?
while ball.pos > 0
while ball.pos.z > 0
while ball.pos.y > 0
while ball.pos.x > 0

Explanation:

Brief Explanations

In a typical 3 - D coordinate system, when a ball is dropped, its vertical position (usually represented by the y - axis in common coordinate setups for such problems) is monitored. When the ball reaches the axes (usually the ground - level which is y = 0), the condition for it to stop falling would be when its y - position is no longer greater than 0.

Answer:

C. while ball.pos.y > 0