Statistical mechanics
Statistical mechanics was the sub-discipline within the mechanics field that combined mathematical and physical theories taught as a course at Starfleet Academy. 

In 2368, Wesley Crusher helped his friend Joshua Albert "a little" with his studies in statistical mechanics. While Joshua's father, Lieutenant Commander Albert, believed his son's weakness was mathematics, Wesley explained that Joshua wasn't bad at it, he just didn't like the subject. ()

External link
 
Physics
Mathematics
Starfleet Academy courses