Non Student Teaching Self Physics: Question about Science Programming Languages.

AI Thread Summary
The discussion centers on self-directed learning in physics and programming, particularly for someone without formal education in the field. The individual has taught themselves Calculus and physics and is now exploring programming languages to complement their studies. Key points include the relevance of learning C and its advantages for understanding low-level programming and embedded systems. While Fortran is mentioned as a traditional choice, alternatives like Octave, a free version of MATLAB, are suggested for physics-oriented programming. C# is deemed less relevant for scientific programming. The conversation emphasizes that while laboratory access is beneficial, it is possible to learn physics effectively using books and software alone. Python is recommended for its ease of use in programming simulations, and the importance of a computer algebra system, like Mathematica or a free alternative, is highlighted for mathematical computations in physics.
deltapapazulu
Messages
84
Reaction score
13
My situation is that I taught myself Calculus 1, 2 and some 3 over the last year, and the better part of Freshman physics for majors, mechanics and EM. I bought 4 texts to learn from: Halliday, Tipler, Giancoli, and Young and Freedman. And I just started learning Diff. Eq. & Linear Algebra.

The next logical step I thought (aside from buying some Sophomore physics texts) was to learn some physics software. Fortran was a word I kept seeing in that regard. That is the only reason I started with that. But I keep hearing that it is outdated. Here are some questions:

1. Are there any advantages to learning C? If not then I won't waste my time with it.
2. What is the next most Physics oriented programming software other than Fortran? Matlab is of course something I desire to learn but don't have the money to purchase a legal copy at this point.
3. (along a different vein) I love the hell out of physics and want to continue teaching myself till it stops being interesting. I have plenty of time. I am a night security guard without a family. But I am 40 years old and really don't have the option to go back to school in physics right now, and I don't have access to laboratories. Is there a since in which you can't really learn physics without lab? What really attracts me is the software side of things. Is there a legitimate way to be into physics with only books and a computer at your disposal?
CFDFEAGURU said:
Here is a link that you can download C# from.
4. Is C#(C-sharp) relevant to science programming?
5. Is it possible to learn C (original) in Visual C++. Can it be an environment strictly for C programming? Of course I am going to learn C++ as well but am just wondering whether C is worth my time.
 
Technology news on Phys.org
deltapapazulu said:
1. Are there any advantages to learning C? If not then I won't waste my time with it.
If you are interested in how computers work it is vital. It's main practical use is if you ever have to o low level controllers or embedded micro stuff.

2. What is the next most Physics oriented programming software other than Fortran? Matlab is of course something I desire to learn but don't have the money to purchase a legal copy at this point.
Octave is a free version of MATLAB - I thinkit's pretty much 100% compatible except for graphics
There isn't really a single favorite anymore C++/Python/matlab are all widely used.

4. Is C#(C-sharp) relevant to science programming?
Not really

5. Is it possible to learn C (original) in Visual C++. Can it be an environment strictly for C programming? Of course I am going to learn C++ as well but am just wondering whether C is worth my time.
If you call the file .c it will be compiled as c. C++ (except for a few details) is a superset of C - a C program will still be a valid C++ program
 
Just use python. There are hardly any languages that let you write code faster. And that is what you want: something where you can throw together a program of colliding circles and watch their speeds thermalize in a few lines without worrying about data types or memory. On the other hand I recommend some type of computer algebra system. Mathematica is the gold standard, but maybe you can find a free alternative.
 
Thread 'Is this public key encryption?'
I've tried to intuit public key encryption but never quite managed. But this seems to wrap it up in a bow. This seems to be a very elegant way of transmitting a message publicly that only the sender and receiver can decipher. Is this how PKE works? No, it cant be. In the above case, the requester knows the target's "secret" key - because they have his ID, and therefore knows his birthdate.
Thread 'Project Documentation'
Trying to package up a small bank account manager project that I have been tempering on for a while. One that is certainly worth something to me. Although I have created methods to whip up quick documents with all fields and properties. I would like something better to reference in order to express the mechanical functions. It is unclear to me about any standardized format for code documentation that exists. I have tried object orientated diagrams with shapes to try and express the...
Back
Top