Is computational Physics a hard major?

In summary, the course provides a good foundation in Classical and Open Source Physics as well as Java programming. The main challenge is that you need to understand the physics as well as code the algorithms.
  • #1
MOKHTAR
19
0
TL;DR Summary
Is computational Physics a hard major? To what extend I should learn mathematics and Computer Science besides learning Physics?
Is computational Physics a hard major? To what extend I should learn mathematics and Computer Science besides learning Physics?
 
Physics news on Phys.org
  • #2
It’s hard in the sense that you’re combining fields and learning things you haven’t learned before. In the course I took, the student needed to understand java programming so they could work with the Open Source Physics libraries and Classical Physics at the Goldstein level.

Www.compadre.org/osp

Coding was done using Eclipse IDE which had excellent development features ie a syntax coloring editor, transformation functions to promote, demote methods, add getters and setters, reformat code and provide visual cues of bad/wrong coding via incremental compiles and a good code stepping and breakpoint debugger.

Most of your coding will be around implementing the step method ie converting an ODE into a method and then setting up other code to activate the ODE solver that uses the specific ODE step method.

The hard part for me was understanding how the numerical method actually related to the physics.

Early in the course we implemented a simple Euler integration method for the simple harmonic oscillator and saw how it introduces some error into the simulation which appears as energy added or removed. From it we learned that we need to choose the ODE solver based on the kind of problem we were simulating to reduce the effects of error.

Later we used the RK4 ODE solver which we only needed to know how to use it and not what magic it used under the covers. It became the one to slit for most of our problems as it worked so much better than any Euler variant.

An example of error effects would be a planetary simulation where the planet started to spiral toward the sun ie energy lost vs the planet spiraling outward ie energy added thanks to error. The best solver would add some error and then take it away so that the simulation was stable and represented the planetary system.

We even got too philosophical with the prof asking if we could say all energy in the universe was in fact information error introduced into the simulation. He just laughed. I guess he saw The Matrix movie too.

Hope this helps.
 
Last edited:
  • Like
Likes anorlunda

1. Is computational physics a difficult major?

Yes, computational physics can be a challenging major. It requires a strong foundation in mathematics, physics, and computer science, as well as critical thinking and problem-solving skills.

2. What kind of courses are typically included in a computational physics major?

Courses in a computational physics major may include advanced mathematics (such as calculus, linear algebra, and differential equations), physics (such as mechanics, electromagnetism, and quantum mechanics), and computer science (such as programming, data structures, and algorithms).

3. Are there any specific skills or qualities that are helpful for succeeding in a computational physics major?

Some helpful skills and qualities for a computational physics major include strong mathematical and analytical skills, proficiency in programming languages, attention to detail, and the ability to think critically and creatively.

4. What kind of career opportunities are available for someone with a degree in computational physics?

A degree in computational physics can lead to a variety of career opportunities, such as working as a research scientist in a laboratory, developing software for scientific simulations, or pursuing a career in data science or artificial intelligence.

5. Is a graduate degree necessary for a career in computational physics?

While a graduate degree is not always necessary for a career in computational physics, it can provide advanced knowledge and skills that may be beneficial for certain positions. Additionally, many research and academic positions may require a graduate degree in computational physics or a related field.

Similar threads

  • STEM Academic Advising
Replies
3
Views
458
  • New Member Introductions
Replies
1
Views
79
  • New Member Introductions
Replies
1
Views
64
Replies
3
Views
125
  • Other Physics Topics
Replies
1
Views
1K
  • Other Physics Topics
Replies
2
Views
3K
  • Other Physics Topics
Replies
5
Views
2K
  • STEM Career Guidance
Replies
11
Views
721
  • STEM Academic Advising
Replies
6
Views
1K
Replies
1
Views
53
Back
Top