RC Filter - Step Response vs. Time

Given R, C and Vin, then calculate the step response and error for N time constants.

R (Ohms)
C (F)
Vin (V) Input voltage.
N Number of Tau to calculate vo.

Tau (s) Tau = R*C
fc (Hz) fc = 1/(2*pi*R*C)


Step Response: vo = Vin * Exp(-t/Tau)