I was trying to solve a question in which the transfer function of a system was asked, its unit step response being given:
$$ c(t) = 1 - 10^{-t} $$
The method that the book followed was to first find out \$ C(s) \$ i.e.
$$ \mathcal{L}(c(t)) = \frac{1-9s}{s(s+1)} $$
Then find out the Laplace Transform of input i.e. \$ R(s) = \frac{1}{s} \$ (since the input was step input) and finally the transfer function =
$$ \frac{C(s)}{R(s)} = \frac{1-9s}{s+1} $$
(Answer).
But I tried to find out the transfer function by first calculating the impulse response of the system, which is equal to the time domain differetiation of unit step response. so, impulse response = \$ \frac{d}{dt}(1-10^{-t}) = (\delta(t))+10^{-t} \$ now transfer function will be Laplace Transform of Impulse response, So Transfer function = \$ 1+\frac{10}{s+1} \$
I can't figure out where is the mistake, why the answers differ when we apply a different approach.