Contemplating between computer sciences and electronics

AI Thread Summary
The discussion centers on a student entering undergraduate studies with aspirations to become a theoretical astrophysicist, considering a third subject alongside physics and mathematics. The student is torn between taking electronics and computer science. Insights from a previous forum thread highlight the importance of programming languages like FORTRAN and C, particularly in numerical analysis. The consensus leans towards computer science, as it covers essential topics like logic gates and algorithms, which are beneficial for a physics career. The student has prior knowledge of basic electronics and feels that further study in this area may not be necessary. Instead, they plan to focus on computer science, particularly C++ and Java, while continuing to explore electronics independently. Resources for learning C++ online were shared, emphasizing the value of practical programming skills in scientific computing.
vhbelvadi
Messages
67
Reaction score
1
The basic idea: I'm entering undergrad, I want to be a theoretical (astro)physicist, that is to say I may deviate towards nuclear physics at a later time, though the chances are quite slim.

Where I study, we need to opt for three subjects spread over six semesters each and without doubt I have physics and mathematics. But it is this third subject that is bothering me.

A while ago I read https://www.physicsforums.com/showthread.php?t=240792" that have made me enlightened! (If you haven't, you should!) And I learned from there that it helps to know especially FORTRAN and C alongside Numerical Analysis.

My dilemma is whether I should take electronics or computer sciences. The basic idea is that, in electronics, we can expect to learn about transistors, logic gates, ICs and stuff along those lines. I already have a basic idea about these from high school.

In computer sciences we start off with C, C++ and eventually go up to JAVA. While I am interested in this, I'm really unsure as to which of these will help me in the future. I have no knowledge of C or C++ and I thought I'd spend time learning that here.

I need advices and I need them within the next few hours because I have to declare the subjects today!

Thank you for your patience and replies in advance!
 
Last edited by a moderator:
Physics news on Phys.org
I am not sure how much you can get out of a computer science class at the moment. Personally I need to enter a class because it is the only way to test my knowledge. I still read and learn outside the classroom.

Scientific computing? Look into applied mathematics (with computational...). You can learn C++ and Java right now on the Internet.

I will not declare a major / a minor until you have taken an introduction to computer science. I assume your school teach C++ in that class.

As far as what you can get out of computer science... computer science major learns about switching system too (logic gates, binary, flipflop). If you know those things already then don't waste time taking electronics.
You would probably want to finish data structure and algorithm from CS. Numerical method too.

If you want to begin learning C++, go here:
http://www.cplusplus.com/doc/tutorial/

I am always torn between applied mathematics and computer science, because I like analysis part (once I spent a few nights to compute the square root of two, which was a CS assignment).
 
@jwxie, thanks a lot.
So I suppose the scale tips towards computers as far as I'm concerned. I spent a year on switching systems and all other basic electronics stuff so I think I would not be needing much beyond that for my physics career.
It would help, therefore, to study some computer sciences and keep up with electronics outside class.
And thank you for the link, I spent some time there and I think I'll keep returning at least till I'm through with C++!
Thank you once again!
 
Hey, I am Andreas from Germany. I am currently 35 years old and I want to relearn math and physics. This is not one of these regular questions when it comes to this matter. So... I am very realistic about it. I know that there are severe contraints when it comes to selfstudy compared to a regular school and/or university (structure, peers, teachers, learning groups, tests, access to papers and so on) . I will never get a job in this field and I will never be taken serious by "real"...
Yesterday, 9/5/2025, when I was surfing, I found an article The Schwarzschild solution contains three problems, which can be easily solved - Journal of King Saud University - Science ABUNDANCE ESTIMATION IN AN ARID ENVIRONMENT https://jksus.org/the-schwarzschild-solution-contains-three-problems-which-can-be-easily-solved/ that has the derivation of a line element as a corrected version of the Schwarzschild solution to Einstein’s field equation. This article's date received is 2022-11-15...

Similar threads

Replies
9
Views
2K
Replies
6
Views
3K
Replies
12
Views
2K
Replies
13
Views
4K
Replies
8
Views
2K
Back
Top