Capacitor Energy (E) and RC Time Constant

Result

images