I need help solving this equation to find the variable $RC$:
$$V_c=V_{in}\left(1-\frac{e^{-t}}{RC}\right).$$
I already know $V_c$, $V_{in}$ and $t$. I always get it wrong so the $RC$ is negative. It represents time and so it shouldn't be.
I need help solving this equation to find the variable $RC$:
$$V_c=V_{in}\left(1-\frac{e^{-t}}{RC}\right).$$
I already know $V_c$, $V_{in}$ and $t$. I always get it wrong so the $RC$ is negative. It represents time and so it shouldn't be.
So, $$V_{c}=V_{in}\left(1-\exp\left({\frac{-t}{RC}}\right)\right)$$ Divide by $V_{in}$ and subtract $$\exp\left({\frac{-t}{RC}}\right)=1-\frac{V_{c}}{V_{in}}$$ Take logs $$\frac{-t}{RC}=\ln\left(1-\frac{V_{c}}{V_{in}}\right)$$ and re-arrange $$\frac{-t}{\ln\left(1-\frac{V_{c}}{V_{in}}\right)}=RC$$