Stored energy and its applications