Question Details

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


Iteration(i) 0 1 2 3
Input(I) 20 -4 10 15
Output(X) 20 16 26 41
Output(Y) 20 -80 -800 -12000

Options

A

X(i) = X(i − 1) + I(i)
Y(i) = Y(i − 1) × I(i), i > 0

B

X(i) = X(i − 1) / I(i)
Y(i) = Y(i − 1) + I(i), i > 0

C

X(i) = X(i − 1) × I(i)
Y(i) = Y(i − 1) / I(i), i > 0

D

X(i) = X(i − 1) + I(i)
Y(i) = Y(i − 1) / I(i − 1), i > 0

Show Answer

Correct Answer :

Option A

X(i) = X(i − 1) + I(i)
Y(i) = Y(i − 1) × I(i), i > 0

Solution :

The correct option is:
X(i) = X(i − 1) + I(i)
Y(i) = Y(i − 1) × I(i), i > 0

To verify which mathematical relation correctly represents the given data, we can test the recurrence relations for each iteration step (where
i>0
).

Let us analyze the values for Output(X) and Output(Y) step-by-step using the correct relations:

1. Verification of the relation for Output(X):
The proposed relation is:

X(i)=X(i-1)+I(i)

Let us check this relation for iterations
i=1,2,3
:

• For iteration
i=1
:

X(1)=X(0)+I(1)=20+(-4)=16

This matches the table value of Output(X) at iteration 1, which is 16.

• For iteration
i=2
:

X(2)=X(1)+I(2)=16+10=26

This matches the table value of Output(X) at iteration 2, which is 26.

• For iteration
i=3
:

X(3)=X(2)+I(3)=26+15=41

This matches the table value of Output(X) at iteration 3, which is 41.

2. Verification of the relation for Output(Y):
The proposed relation is:

Y(i)=Y(i-1)×I(i)

Let us check this relation for iterations
i=1,2,3
:

• For iteration
i=1
:

Y(1)=Y(0)×I(1)=20×(-4)=-80

This matches the table value of Output(Y) at iteration 1, which is -80.

• For iteration
i=2
:

Y(2)=Y(1)×I(2)=-80×10=-800

This matches the table value of Output(Y) at iteration 2, which is -800.

• For iteration
i=3
:

Y(3)=Y(2)×I(3)=-800×15=-12000

This matches the table value of Output(Y) at iteration 3, which is -12000.

Since both Output(X) and Output(Y) values calculated step-by-step match the given table data perfectly, the relation is verified as correct.

Unlock Our Free Library

Access expert-curated educational resources and study materials—completely free.

Discover more resources

You may also like

Ask AI Tutor
5 left
Q1 View Question & Options
AI Tutor is solving this question...
Reading question context & options...