Machine-translated by Google. Questions are authored in English.
Top

Discussion

Which one of the following options is correct for the given data in the table?

Iteration (i)0123
Input (I)20-41015
Output (X)20162641
Output (Y)20-80-800-12000

  • A.\(X(i) = X(i-1) + I(i);\ Y(i) = Y(i-1)I(i);\ i \gt 0\)
  • B.\(X(i) = X(i-1)I(i);\ Y(i) = Y(i-1) + I(i);\ i \gt 0\)
  • C.\(X(i) = X(i-1)I(i);\ Y(i) = Y(i-1)I(i);\ i \gt 0\)
  • D.\(X(i) = X(i-1) + I(i);\ Y(i) = Y(i-1)I(i-1);\ i \gt 0\)

Answer: A

The relations are X(i) = X(i - 1) + I(i) and Y(i) = Y(i - 1) I(i), for i > 0.

Check X: 20 + (-4) = 16, 16 + 10 = 26, 26 + 15 = 41. Each output adds the new input to the previous output.

Check Y: 20 × (-4) = -80, -80 × 10 = -800, -800 × 15 = -12000. Each output multiplies the previous output by the new input.

The option with X multiplying would give 20 × (-4) = -80 for X(1), not 16, and Y adding would give 16, not -80. The last option multiplies Y by the previous input, giving Y(1) = 20 × 20 = 400 instead of -80.

No comment is present. Be the first to comment.
Loading…

Post your comment

Please log in or register to post a comment.