Sunday, October 13, 2013

Java tutorial.

Java is a general-purpose, class-based and object-oriented programming language which is widely used all over the world. Java applications run on Java virtual machine (JVM). Java is one of the most popular programming languages in the world. Most of its syntax are derived from C and C++. Java is also used in game development. Game engines such as Ardor3D, DimensioneX Multiplayer Engine, Env3D, jMonkeyEngine, Jogre, Jogre, LWJGL use Java for programming.

 Following video tutorial shows a collection of  Java codes including: Bubble sort, Factorial, Fibonacci series, Mode of a list etc.



You can comment us about your problems.

Friday, August 23, 2013

Making NaOH by electrolyzing an NaCl solution at home


NaOH ( Sodium hydroxide / Caustic soda) is an alkali solution which is made up of  Na+ and OH- ions. NaOH ( Sodium hydroxide ) or caustic soda is  an alkali solution, made up of Na+ and OH- ions. NaOH is industrially produced by electrolyzing NaCl solution ( Brine ). As by products Chlorine gas and Hydrogen gas are produced. Solid sodium hydroxide is obtained by evaporation of that solution. It is mostly sold as, prills, flakes  and cast blocks.







Theory



The electrons removal or addition, needed for the chemical reaction ( Interchange of atoms ) is done by a voltage applied by an external circuit.

The equation is given below.

2NaCl + 2 H2O → 2 NaOH + H2 + Cl2



Electrolyzing an NaCl solution at home



At home, you can easily use the method of electrolysis to make NaOH.
For electrodes pencils are used. And the container is separated into two chambers using a paper layer, in order to prevent the reaction between Chlorine and Hydrogen, which were by products of the reaction.







The following video shows how it's done.



Sunday, August 4, 2013

Python tutorial

Python is a general-purpose, high-level programming language used by many programmers all over the world. Its syntax allows programmers to express concepts in fewer lines of code than would be possible in languages such as C, C++, Java. Python is also used in game development. Game engines such as Blender, Cocos2d, Delta3d, Nebula Device, Panda3D, PixelLight, Spring, WorldForge use python for scripting.

Following video tutorial presents some very useful python codes based on matrices in python.

It includes codes for, matrix multiplication, matrix addition, binary searching, average of a list,  maximum of a list, list sorting , factorial, dot product of two vectors.




Comment us your problems