I’m not exactly sure where to go from here, obviously I need to solve for K but I’m not sure what I can use for the initial condition. After solving for that, I assume you can plug that value into p=i^2*r, and w=[itex]\int[/itex][itex]\stackrel{t2}{t1}[/itex]p dt.