Right answer is (a) \([\frac{x(n)+x(n-1)}{2}]T\)
Best explanation: We know that the derivative equation is
dy(t)/dt=x(t)
On applying integrals both sides, we get
\(\int_{(n-1)T}^{nT}dy(t)=\int_{(n-1)T}^{nT} x(t)dt\)
=> y(nT)-y[(n-1)T]=\(\int_{(n-1)T}^{nT} x(t)dt\)
On applying trapezoidal rule on the right hand integral, we get
y(nT)-y[(n-1)T]=\([\frac{x(nT)+x[(n-1)T]}{2}]T\)
Since x(n) and y(n) are approximately equal to x(nT) and y(nT) respectively, the above equation can be written as
y(n)-y(n-1)=\([\frac{x(n)+x(n-1)}{2}]T\)