Question #264579

Given internal energy, rate, and time. Print the integer that represents the total energy at Nth second


Expert's answer

def InternalE(initialE, R, T):
 return R * T + initialE
initialE = int(input("Enter initial energy: "))
R = int(input("Input rate: "))
T = int(input("Input time: "))
print("The energy is: "+str(InternalE(initialE, R, T)))

Need a fast expert's response?

Submit order

and get a quick answer at the best price

for any assignment or question with DETAILED EXPLANATIONS!

LATEST TUTORIALS
APPROVED BY CLIENTS