Total_Charge(t) = Total_Charge(t - dt) + (Current) * dt INIT Total_Charge = 0 Current = Applied_Voltage/Total_Resistance Applied_Voltage = 12 I1 = Applied_Voltage/R1 I2 = if R2=0 then 0 else Applied_Voltage/R2 I3 = if R3=0 then 0 else Applied_Voltage/R3 P1 = Applied_Voltage*I1 P2 = Applied_Voltage*I2 P3 = Applied_Voltage*I3 Power = Applied_Voltage*Current R1 = 2 R2 = 0 R3 = 0 Total_Resistance = if (R2=0 and R3 = 0) then R1 else if R3 =0 then 1/(1/R1 + 1/R2) else if R2=0 then 1/(1/R1 + 1/R3) else 1/(1/R1 + 1/R2 + 1/R3) Time Specs Range = 0 - 12, dT = 0.1, Integration Method = Euler's