## Number Theory in a Nutshell

Number theory is one of branches of mathematics which deals with relations between Integer Numbers (positive and negative natural numbers and zero) which shown as Z numbers.

Number theory, as a course in undergraduate of mathematics, usually starts with topic of “Divisibility”. This section involves with some sub-topics like “division algorithm”, “Greatest Common Divisor”, “Least Common Multiple”, “Euclid Algorithm”, “Prime Numbers”, “Sieve of Eratosthenes”, “Fundamental Theorem of Arithmetic”, “Linear Diophantine Equations” and etc.

Continue readingNumber Theory in a Nutshell

## Analytical Dynamic in a Nutshell

Classic mechanic or “Classic Dynamic” is all about applying the Newton’s laws on a dynamic system and deriving the dynamic equations of motions of system. Usually, you first draw Free Body Diagram of system and apply the forces on parts and derive the equations of motion. Therefore, we could say Classic Dynamic is “Force-Based” approach.

In “Analytical Dynamic”, we use another approach to derive “equations of motion” or “Dynamic Equations of System”. In this approach we first calculate the energy of system (kinetic and potential energies) and then derive the dynamic equations from energy of the system, thus, the Analytical Dynamic is “Energy-Based” approach.

Continue reading “Analytical Dynamic in a Nutshell”

## What are the advantages of React JS??!!

By growing a dynamic web project, (for example famous social medias like Facebook, twitter or online stores like amazon or eBay) the number of http request on a page and the reload of page to update new variables, increases significantly. Frontend includes 3 parts: HTML, CSS and JavaScript. When the project gets big the number of JavaScript function calls and etc, gets bigger and the speed of load page decreases accordingly. Also, the handling of this for developers of website gets crazy and sometimes they get lost among all of these JavaScript calls.

## What are the advantages of Node JS??!!

Node JS is one the highly efficient backend frameworks for web development, written in JavaScript. It was introduced in 2009 for first time by Ryan Dahl. By introducing of the node JS, both of frontend and backend of web could be done only by JavaScript and since then the market had shown vast need for MEAN Stack and MERN Stack developers. MEAN stack is abbreviation of four technologies used for web development: MongoDB, Express JS, Angular JS and Node JS and also MERN stack just replaced the Angular JS with React JS. But the question is, why the reason for the increasing popularity and use of Node JS and what are its advantages than other backend frameworks.

## Meta-heuristic Optimization Algorithms

In many fields of science and engineering, we face with a problem which needs to optimize a mathematical function. It means we need our function to be maximum or minimum of its values. If our problem is maximization, desired function is called “utility function” or “profit function” and if the problem is minimization, the function is called “cost function” or “loss function”, but in general we could call the function as “objective function”.

## “Decorators” in Python

One of most powerful and advanced features of “Object-Oriented Programming” in python, is “Decorators”. But before you dive in to the decorator’s topic, you need to know somethings in advance. For C++ and Java programmers, functions inside of functions is weird and unfamiliar, but python supports creating functions inside of functions and a function can have an argument which is a function itself! Please don’t mess it up with recursion. In recursion (which is supported by C++ and java as well), same function is called inside of definition of function, but in python you can define a new function inside a function (like a wrapper function), and return of your function could be a function. This is so beautiful feature and makes a great tool for professional programmers to write codes.