+ 1
How to create an application that will display the amount of power consumed by a bulb within 24
It should be in an electrical engineering ways
1 Answer
+ 15
As you clearly know you've got to feed 2 variables to get the consumed power
P = V^2 / R
or
P = V * I
or
P = R * I^2
[http://www.sengpielaudio.com/calculator-ohm.htm]
The time factor is playing another role in your program.
I suggest you have a look at [https://electronics.stackexchange.com/questions/167489/how-to-calculate-power-consumption]