Posts

AoA

 Selection Sort : Algorithm:  Step 1 − Set min to the first location Step 2 − Search the minimum element in the array  Step 3 – swap the first location with the minimum value in the array Step 4 – assign the second element as min.  Step 5 − Repeat the process until we get a sorted array. Program Code:   #include <stdio.h> int main() {  int arr[100], n, i, j, position, swap; printf("Enter number of elements\n"); scanf("%d", &n); printf("Enter %d Numbers\n", n);  for(i = 0; i < n; i++)     scanf("%d", &arr[i]); for (i = 0; i < (n - 1); i++) {       position = i;       for (j = i + 1; j < n; j++) {          if (arr[position] > arr[j])             position = j;       }       if (position != i) {          swap = arr[i];          arr[i] = arr[position];          arr[position] = swap;       }    }    for (i = 0; i < n; i++)       printf("%d\t", arr[i]);    return 0; } INSERTION SORT: Algorithm: Step 1 − If the elem

ELECTRIC FLUX: Definition And Properties

Electric Flux is defined as Number of Electric Lines of Force passing through the Specfic Area.    Electric Flux is a Scalar Quantity because It is DOT product of the Two VECTORS  Electric Flux is Maxmium When it is perpendicular to the  Direction of Electric field and Electric Flux is Zero When it is Parallel To the Direction of Electric field. It's S.I [Systeme Internationale] Unit is : Weber Electric Flux is Measured by Fluxmeter The Formula for Electric Flux Is :-  Φ E  = E⋅S = EScosθ where  E= Electric field            S= Surface area              θ= Angle Between Electric field and normal of the Surface area (AREA VECTOR).

How ants Work together to do Construction

Image
ANTS DO CONSTRUCTION WITHOUT COORDINATION.. Leaf-cutter ants build super highways to transfer food and building material hunderds of metres without communicating with each other, scientist claimed that, in finding that could prompt rethink about how some insect communities organise themselves. It had long been thought that the ants organise megaprojects by communicating with one another, assigning specialist to remove debris. But, each ant seems to act alone, solving environmental problems such as removing as they are encountered.

Burning Process | How substances burn?

Image
Why do substances burn with or without a flame? Have you ever observed either a coal or a wood fire? If not, the next time you get a chance, take close note of what happens when the wood or coal starts to burn. You have seen above that a candle or the LPG in the gas stove burns with a flame. However, you will observe the coal or charcoal in an ‘angithi’ sometimes just glows red and gives out heat without a flame. This is because a flame is only produced when gaseous substances burn. When wood or charcoal is ignited, the volatile substances present vapourise and burn with a flame in the beginning. A luminous flame is seen when the atoms of the gaseous substance are heated and start to glow. The colour produced by each element is a characteristic property of that element. Try and heat a copper wire in the flame of a gas stove and observe its colour. You have seen that incomplete combustion gives soot which is carbon. On this basis, what will you attribute the yellow colour of a ca

Formation of coal and petroleum| Detailed

Formation of coal and petroleum Coal and petroleum have been formed from biomass which has been subjected to various biological and geological processes. Coal is the remains of trees, ferns, and other plants that lived millions of years ago. These were crushed into the earth, perhaps by earthquakes or volcanic eruptions. They were pressed down by layers of earth and rock. They slowly decayed into coal. Oil and gas are the remains of millions of tiny plants and animals that lived in the sea. When they died, their bodies sank to the sea bed and were covered by silt. Bacteria attacked the dead remains, turning them into oil and gas under the high pressures they were being subjected to. Meanwhile, the silt was slowly compressed into rock. The oil and gas seeped into the porous parts of the rock, and got trapped live water in a sponge. Can you guess why coal and petroleum are called fossil.

How do alcohols affect living beings?

Image
DO YOU KNOW? How do alcohols affect living beings? When large quantities of ethanol are consumed, it tends to slow metabolic processes and to depress the central nervous system. This results in lack of coordination, mental confusion, drowsiness, lowering of the normal inhibitions, and finally stupour. The individual may feel relaxed but does not realise that his sense of judgement, sense of timing, and muscular coordination have been seriously impaired. Unlike ethanol, intake of methanol in very small quantities can cause death. Methanol is oxidised to methanal in the liver. Methanal reacts rapidly with the components of cells. It causes the protoplasm to get coagulated, in much the same way an egg is coagulated by cooking. Methanol also affects the optic nerve, causing blindness. Ethanol is an important industrial solvent. To prevent the misuse of ethanol produced for industrial use, it is made unfit for drinking by adding poisonous substances like methanol to it. Dyes are al

Valentine DAY: TOP 8 GADGETS TO EXPRESS YOUR LOVE

Image
Valentine DAY: TOP 8 GADGETS TO EXPRESS YOUR LOVE Valentine's Day is just around the corner and you must already be wondering what Special gift you can buy. Here's what we suggest: a smart gadget. Here's a kist if eight gadgets that you can consider to buy: 1) FITBIT VERSA SMARTWATCH :       If your better half is a fitness freak and loves to maintain his/her health quotient, a Fit-bit Versa smartwatch could be a good option to gift. 2) SAREGAMA CARVAAN PREMIUM:      If your better half is a music lover, then this could be the best option  The portable digital audio player starts with Rs 6,975. Buy this Premium Carvaan here With Discounted rate Charcoal Version 3) AMAZON ECHO SPOT SMART SPEAKER:      One can also gift a smart speaker, including Google Home, Amazon Echo and LG XBOOM AI ThinQ among others. Buy this Amazing product Here.. 4) SENNHEISER BLUETOOTH WIRE-LESS HEADPHONES:     You can also gift a pair of Sennheiser Bluetooth-powered wireless he