Any system or process can be described by some mathematical equations. Their nature may be arbitrary. Does security service of a stadium want to know fan traffic in the case of fire? Does an engineer construct a thermal generating unit for your house? Usually, using a small set of general rules and laws of nature, one can predict everything at least for the nearest future. So, in this article, we’ll continue our topic of the computer simulations and deal with the way all these calculations are performed. (more…)
Archive for the ‘Programming’ Category
One of the major strengths and weaknesses of both C and C++ are pointers. You can forget to allocate or free memory in the relevant place and program will work perfectly except for unexpected crashes during the most inconvenient time. Modern C++ (standard 2011) has some tricks to help save time and energy during the development process. (more…)
Computer simulations play an important role in many scientific and engineering problems. Depending on the given tasks, different methods are used: someone needs to solve complicated systems of equations which cannot be solved analytically, other perform numerous computations to get enough statistics without real-life experiments. The first mentioned group of tasks is often related to calculations on electric and electronic devices while the latter is often related to the statistics problems (a lot of problems in economy, thermodynamics, etc.). In this article, we discuss an example of how a simple analysis can be performed by the accumulation of the enough number of random events. (more…)
The one who owns the information owns the power. Reliable information of the high quality allows us to make the right analysis and conclusions no matter what we’re talking about. That’s why people who can get the right information and analyze it are really appreciated at all times. However, sometimes information should be passed so that nobody except for the addressee could know the fact of information transmitting. This is what we call steganography and here we are to reveal some of its secrets. (more…)
You probably at least heard something about C which is general purpose programming language. Speaking of coding in any programming language, there are some tricks which each programmer (especially beginner) should be aware of, otherwise he or she will be very surprised when analyzing the outcomes. In this article we’ll talk about such things as bit shift and type conversion in C. (more…)
Do you think this is just a bunch of meaningless numbers or something more? $$9 \: 27 \: 12 \: 15 \: 22 \: 5 \: 27 \: 19 \: 3 \: 9 \: 5 \: 14 \: 3 \: 5$$ Later we’ll give you the answer. But before let’s talk about cryptography. Do you know what’s that? We’ll start with a bit of history. Cryptography is the science of secret writing. Its name comes from the Greek words Kryptos, meaning hidden, and graphene, which means writing. By the way, there is also steganography – the science and art of writing hidden messages. Don’t mix them up, though. Steganography and cryptography are not the same. Cryptography is the science of codes and ciphers. Steganography is the science of secure data transmission through the secrecy of the very fact of the transfer. (more…)
If you’re studying computer science you’ve probably already have completed a lot of programming homework, including Java, or it’s just around the corner. If you don’t, well, sure you’re also using Java codes in everyday life, not even having a faintest clue about that. Ok, let us start with some history.
Java was first introduced in 1995 year by the “Sun Microsystems” company. Java programming language is considered to be a c++ “child”. Its main advantage is that it does not “bind” itself to any operating system.
Java sourse code is translated to a specia byte code, translatable by a virtual machine on any operating system. Such languages are called cross-platform languages. Java is considered to be most popular because of its wide implementablity and cross-platformness. (more…)