- #1
- 16
- 5
How can a high school student prepare for a physics degree with programming. i.e. which programming language, what packages?
There are many answers depending on where you end up, and what you will be requested to solve. I think the best recommendation at this stage of yours is: learn Python. You can't go wrong with it and it will be of value even if the path of your life might become a different one. It teaches all programming basics which can also be used in other languages.Philip551 said:How can a high school student prepare for a physics degree with programming. i.e. which programming language, what packages?
I already have a good grasp of python programming and coding fundementals. I am looking to better expand skills in things like data analysis and visualisation. Also was thinking of starting R.fresh_42 said:There are many answers depending on where you end up, and what you will be requested to solve. I think the best recommendation at this stage of yours is: learn Python. You can't go wrong with it and it will be of value even if the path of your life might become a different one. It teaches all programming basics which can also be used in other languages.
With "good grasp of python programming and coding fundamentals", the next step isPhilip551 said:I already have a good grasp of python programming and coding fundementals. I am looking to better expand skills in things like data analysis and visualisation. Also was thinking of starting R.
Philip551 said:How can a high school student prepare for a physics degree with programming. i.e. which programming language, what packages?
It sounds like you are in a good place. Keep up the great work!Philip551 said:I already have a good grasp of python programming and coding fundementals. I am looking to better expand skills in things like data analysis and visualisation. Also was thinking of starting R.
You could learn MATLAB then. Here is quite a good course (I have it available free through my University, so not sure if it'll be of use to you) https://www.coursera.org/specializations/matlab-programming-engineers-scientists . But it goes through the basics in the first module, and culminates with 'Introduction to Data, Signal, and Image Analysis with MATLAB' in third module.Philip551 said:I already have a good grasp of python programming and coding fundementals. I am looking to better expand skills in things like data analysis and visualisation. Also was thinking of starting R.
Philip551 said:I already have a good grasp of python programming and coding fundementals
Philip551 said:How can a high school student prepare for a physics degree with programming. i.e. which programming language, what packages?
hutchphd said:I asked my freshman (physics college) advisor the same question 50 years ago: "should I take a programming course?". His response was: "No, don't bother, you will learn what need when you need it"
gleem said:The point I should have made is that programming may help you do physics but programming does not help you to learn physics. Today there are so many software packages available to perform useful tasks that it is only when you get a unique problem that you may need to develop custom software. It is more important to understand what the program needs to do than to be a great coder without that understanding.
It doesn't have to be an either-or situation. When I was in 8th grade, I taught myself APL, and in doing so, I learned a lot of math along the way.gleem said:You might want to wait to see how programming can help you first rather than committing to an unfocused effort. You would be better off at this stage in your education to put more emphasis on developing a sound foundation in the math you will need.
That is for smart people. Those who need more help could use formal instruction for how to use a language and create or design computer programs.Vanadium 50 said:I think that times have changed in 50 years. It is an essential skill for most physicists to cobble some code together than mostly sort of works. It is a desirable skill to be able to actually program.
I was not sure of how to tie the physics with the programming together.robphy said:With "good grasp of python programming and coding fundamentals", the next step is
to apply them to solving physics problems...
...if you want to be a physics major and doing programming with it.
What data to analyze and visualize depends on the physics being modeled.
If you want to do physics,
then focus next on the physics
not on the packages and libraries.
The nature of the physics problem determines the tools that one needs.
The physics undergrads I am teaching this semester are using this variant of Python:
https://www.glowscript.org/
as part of the Matter and Interactions https://matterandinteractions.org/ curriculum
I was thinking of starting a programming language of that sort, so thanks for the suggestion.Irishdoug said:You could learn MATLAB then. Here is quite a good course (I have it available free through my University, so not sure if it'll be of use to you) https://www.coursera.org/specializations/matlab-programming-engineers-scientists . But it goes through the basics in the first module, and culminates with 'Introduction to Data, Signal, and Image Analysis with MATLAB' in third module.
If you've experience with Python then you'll likely fly through the first module.
Philip551 said:I was not sure of how to tie the physics with the programming together.
I started glowscript and found it being much more enjoyable than simply learning coding skills.
I found a great course on it. https://bphilhour.trinket.io/physic...d-the-3d-environment/welcome-and-introduction
You could try this course.Philip551 said:I already have a good grasp of python programming and coding fundementals. I am looking to better expand skills in things like data analysis and visualisation. Also was thinking of starting R.