the electrical current, i in amps, that flows through the circuit is given the equation
// i= E(1-e)^-(R/L)t
//where E is the voltage of the battery in volts,
// R is the value of the resistor in ohms
//L is the value of the inductor in Henry,
//t is time in seconds after the switch is closed,
//and e is euler's number, which is 2.718 accurate to 3 decimal places.
// using the formula write, compile and run c++ program to determine the amount flowing in the circuit when t is 0.12seconds
Comments
Leave a comment