I don't know how did we get here the transfer function. If someone can explain.
The transfer function is Vin/Vout and s=jw.
The RC filter is a voltage divider with the two impedances, Z1=R and Z2=1/jwC
Vout = Vin*(1+Z1/Z2) = Vin*(1+R/(1/jwC)) = Vin * (1 + jwRC)
Vout/Vin = 1 + jwRC
A(s) = Vin/Vout = 1/(1+sRC)
Or from first principles, in the time domain:
The differential equation for the filter is:
[Vin(t)-Vout(t)] / R = C dVout/dt
Multiply through by R:
Vin(t) - Vout(t) = RC dVout/dt
Now convert to the Laplace domain, noting that dx(t)/dt becomes sx(s):
Vin(s) - Vout(s) = RC s Vout(s)
Rearranging:
Vin(s) = (1 + sRC) Vout(s)
The transfer function is Vout/Vin, so:
A(s) = Vout(s) / Vin(s) = 1 / (1 + sRC)
For the EE's out there, how does the "magic" work that you can replace jw by s?
(OK, I'm sure I can look it up. But it's the first time I've come across it.)