I am doing a project to measure power required to heat up a wire. I will be measuring the resistance and voltage across the wire against time. Therefore I will have:

resistance of wire = R(t)

voltage across wire = V(t)

I know power =V*R

So am I correct to do integrate V(t)*R(t) from t=0 to t=t1?

Thank you.