Good point. Although I have a undergrad CS degree, it's old enough that I got a general engineering education, from thermodynamics to drafting. (A later MSCS at Stanford was 100% CS. And, pre machine learning, did not involve a single floating point multiply. Lots of number theory, no differential equations or statistics.)
The math and mathematical techniques for electronics, fluid mechanics, statics, and kinematics is all the same. For example, a mass/spring/damper system is the same as an inductor/capacitor/resister network.