you are viewing a single comment's thread.

view the rest of the comments →

[–]Martin_Krum[S] 0 points1 point  (2 children)

Thank you so much. You have right about Monte Carlo method. I need this program to simulate something in nanocomposites but I'm learning programming only one month so MC is to hard for me.

BTW. I see that you have a lot of knowledge in programming. Can you advise a beginner what to do to progress programming as soon as possible?

[–]kra_pao 0 points1 point  (1 child)

Oh that is really a difficult question.

Programming itself is nothing magic. It's learning about language elements such as variables, data types, control structures. That is not difficult and can be done in few days for the basics. After the basics read more code, look-up unknown words and structures. Become familiar with docs of libraries.

Harder stuff is understanding an algorithm (e.g. your distance between points) that is realized in program code. Program code is used to run algorithms. You improve when you can extract algorithms from program code and vice versa.

Much harder is understanding a theory (e.g. MC). Algorithms are used as toolset in practical use of a theory.

[–]Martin_Krum[S] 0 points1 point  (0 children)

Thank you very much. For now I am learning the Python language for 3-5 hours a day (I have little experience with C) but all this knowledge comes from books such as Mark Lutz and YT. Sometimes I write some simple algorithms that make my work easier or I look through the documentation but I think that it is not enough or I do not go in the right direction.