Aircraft A is flying east at 320 mi/hr, while aircraft B is flying south at 160
ID: 3638494 • Letter: A
Question
Aircraft A is flying east at 320 mi/hr, while aircraft B is flying south at 160 mi/hr. At this point aircraft A is 800 miles away from the origin and aircraft B is 410 miles away from the origin. Their current locations make a right triangle.
a) Obtain the expression for the distance D between the aircraft as a function of time. Plot D versus time until D reaches its minimum value. I already did this. I calculated that the minimum occurs around when the aircraft are within a 9.5 mile distance from one another.
b) Use the "roots" function to compute the time when the aircraft are first within 40 miles of each other.
Part B is what I am having trouble with. I am not sure how the roots function will help me or how I can utilize it. I know that it applies to polynomials. Should I create a velocity vector as a polynomial....I'm confused on this part! Please help!
Explanation / Answer
int main(void) { int num1, denom1, num2, denom2, result_num, result_denom; printf("Enter first fraction: "); scanf("%d/%d", &num1, &denom1); printf("Enter second fraction: "); scanf("%d/%d", &num2, &denom2); result_num = num1 * denom2 + num2 * denom1; result_denom = denom1 * denom2; printf("The sum is %d/%d ", result_num, result_denom); return 0; }
Related Questions
drjack9650@gmail.com
Navigate
Integrity-first tutoring: explanations and feedback only — we do not complete graded work. Learn more.