like i am new to learning python so I want to give the user the option to add multiple inputs for time and then my equation solves it but I can’t figure it out
print("RC Circuit Calculator")
Resistance = float(input("Resistance (R) : "))
Capacitance = float(input("Capacitance (C) : "))
Voltage_Source = float(input("Source Voltage (V) : "))
t = np.array(input("Time Intervals : ").split())
V_c = Voltage_Source*(1 - np.exp(-t/(Resistance*Capacitance)))
print(V_c)
EmperorParadox is a new contributor to this site. Take care in asking for clarification, commenting, and answering.
Check out our Code of Conduct.