Power is ‘r’ - I2R
P=E2(R+r2)R
P=Pmax
dpdR=E2[(R+r)2.1−2R(R+r)(R+r)4]
dpdR=E2(R+r)[R+r−2R(R+r)4]
So, R+r−2R=0
r−R=0
r=R
So, Pmax=E24r