What is the system function of the system described by the difference equation y=0.5y(n-1)+2x?
A. \(\frac{2}{1+0.5z^{-1}}\)
B. \(\frac{0.5}{1+2z^{-1}}\)
C. \(\frac{0.5}{1-2z^{-1}}\)
D. \(\frac{2}{1-0.5z^{-1}}\)
Answer: d
Explanation: Given difference equation of the system is y=0.5y(n-1)+2x
On applying z-transform on both sides we get, Y(z)=0.5z$^{-1}$Y(z)+2X(z)
=>\(\frac{Y(z)}{X(z)}=\frac{2}{1-0.5z^{-1}}\)=H(z).