Charging Inductor Formula.
Calculates the Voltage and Current of an inductor
that is charging/storing energy.
- Parameters:
- t : float
Time at which to calculate voltage and current.
- Vs : float
Charging voltage across inductor and resistor.
- R : float
Resistance related to inductor.
- L : float
Inductance value in Henries.
- Returns:
-