I am currently learning about boundary value problems and how to calculate their weak formulations. I came across something called "Energy Functional" some call it "The Energy of a System" and I could not find a proper definition for this.
So what is an "Energy Functional"? And what do we need it for? How can we come up with the formula?
Also, if you have good books about this topic, I would be grateful.