Programming for Mechanical Engineers

AI Thread Summary
For mechanical engineers specializing in mechatronics, the discussion emphasizes the importance of programming languages for embedded systems and mechanical design. C and Fortran are highlighted as foundational languages, with C being particularly beneficial for understanding system operations. While some suggest C++ for its advanced features, the consensus leans towards C for its practicality in embedded systems. The focus should be on mastering a few key languages rather than spreading efforts across many. Ultimately, proficiency in C is deemed essential for effective mechanical design and control system integration.
ZenOne
Messages
119
Reaction score
0
I'm currently doing Mech Eng in Canada and I plan on choosing Mechatronics as my speciality, however, I was wondering which language would be best for embedded systems and mechanical designs.

I've heard so many conflicting reports: some tell me mechanical engineers should stick to fortran, MATLAB or java; some say C++ is the most important; others mention plain old C.

Bottom line: I'm motivated to learn the most useful one for my needs. I want to be able to both design (mechanically) and if necessary be able to embed the controlling system.

Thanks in advance.
 
Physics news on Phys.org
For "raw" engineering programming, I would focus on Fortran and C.
 
Learning C is good because it acquaints you with how things really work under the hood. Fortran is a legacy language. In general, don't waste your time learning a lot of programming languages. Good programming skills have little to do with learning languages.
 
Thank you for the replies.

Is C better than C++ in regards to embedded systems?
 
I’ve been looking through the curricula of several European theoretical/mathematical physics MSc programs (ETH, Oxford, Cambridge, LMU, ENS Paris, etc), and I’m struck by how little emphasis they place on advanced fundamental courses. Nearly everything seems to be research-adjacent: string theory, quantum field theory, quantum optics, cosmology, soft matter physics, black hole radiation, etc. What I don’t see are the kinds of “second-pass fundamentals” I was hoping for, things like...
TL;DR Summary: I want to do a PhD in applied math but I hate group theory, is this a big problem? Hello, I am a second-year math and physics double major with a minor in data science. I just finished group theory (today actually), and it was my least favorite class in all of university so far. It doesn't interest me, and I am also very bad at it compared to other math courses I have done. The other courses I have done are calculus I-III, ODEs, Linear Algebra, and Prob/Stats. Is it a...

Similar threads

Replies
4
Views
2K
Replies
12
Views
2K
Replies
4
Views
1K
Replies
3
Views
1K
Replies
16
Views
2K
Replies
6
Views
2K
Back
Top