Modern formulas for statics and dynamics a stress-and-strain approach