There's a reason that most my my Mechanical Engineering courses allowed note sheets during exams. The Fundamentals of Engineering exam comes with a large book of formulae.
The test is really about how to apply the formula, not a test of remembering it.
I'd memorize the formulas we were being tested on right before the tests were handed out. Then I'd write them in the top of the test immediately and before I forgot them. Then I'd ace the test. Lol.