Answer:
The expression is Vmem = ΔV - I*Rax
Explanation:
According to the picture, if switch S is closed, the Cmem will be short. If Vcap = 0, the current flows through the capacitor only (not through Rmem), thus Vmem = 0 after closing S.
When C is fully charged, then we have:
Vmem = ΔV - I*Rax