Monday, July 28, 2014

PHP Calculate factorial of a number!!

We can easily calculate factorial of a number.

<?php
function factorial($n){

if($n<1) $n = 1;

return array_product(range(1,$n));

}
?>

Friends please share with me like such easier PHP related programs.
Thanks.

Friday, July 25, 2014

Mahamrityunjaya Mantra

Om Tryambakam Yajamahe
Sugandhim Pushtivardhanam
Urvarukamiva Bandhanan
Mrityor Mukshiya Maamritat


Meaning: We Meditate on the Three-eyed reality
Which permeates and nourishes all like a fragrance. 
May we be liberated from death for the sake of immortality, 
Even as the cucumber is severed from bondage to the creeper.

Thursday, December 19, 2013

Monday, December 16, 2013

Vitamins And Their Chemical Properties

Vitamin Chemical Name Formula Solubility
Vitamin A Retinol

Retinal

beta-Carotene
C20H30O

C20H28O

C40H56
Fat
Vitamin B1 Thiamine C12H17ClN4OS Water
Vitamin B2 Riboflavin C17H20N4O6 Water
Vitamin B3 Niacin

Niacinamide
C6H5NO2

C6H6N2O
Water
Vitamin B5 Pantothenic Acid C9H17NO5 Water
Vitamin B6 Pyridoxine

Pyridoxamine

Pyridoxal
C8H11NO3

C8H12N2O2

C8H9NO3
Water
Vitamin B7 Biotin C10H16N2O3S Water
Vitamin B9 Folic Acid C19H19N7O6 Water
Vitamin B12 Cyanocobalamin

Hydroxycobalamin

Methylcobalamin
C63H88CoN14O14P

C64H93CoN13O17P

C63H91CoN13O14P
Water
Vitamin C Ascorbic Acid C6H8O6 Water
Vitamin D Cholecalciferol C27H44O Fat
Vitamin E Alpha-Tocopherol

Gamma-Tocopherol
C29H50O2

C28H48O2
Fat
Vitamin K Phylloquinone C31H46O2 Fat

N.B.: Data collected from Chemistry Quick Facts

Wednesday, October 2, 2013

Important Quotes



  • "Loneliness is the most terrible poverty."

                                                                       - Mother Teresa
  • "Do not wait for leaders; do it alone, person to person."

                                                                        - Mother Teresa
  • "Life is like riding a bicycle. To keep your balance you must keep moving."
                                                                        - Albert Einstein
  • "Act well your part; there all honor lies."
                                                                         - Alexander Pope
  • "You cannot shake hands with a clenched fist."
                                                                      - Indira Gandhi


  • "Actions speak louder than words."
  • "Example is better than precept."
  • "No one is as deaf as the man who will not listen."
  • "Love is like a war, Easy to begin Hard to end."

Monday, September 9, 2013

Facts About India You Should Be Proud Of


  • India is the Largest democracy in the world, the 7th largest country in the world AND one of the most ancient and living civilizations (at least 10, 000 years old).
  •  India was the first country to be accorded the status of a Pioneer Investor in 1987 and was allocated an exclusive area in the central Indian Ocean by the UN for exploration and utilisation of resources.
  • India has the maximum number of post offices in the world.
  • India has the largest number of news channel in the world. It is the fastest growing telecom market in the world and has the lowest call rates on earth.
  • The Indian Software Industry has grown from a mere US $ 150 million in 1991-92 to a staggering US $ 5.7 billion in 1999-2000. No other Indian industry has performed so well against the global competition.
  • India has the second largest pool of Scientists and Engineers in the World.
  • India is the second largest English speaking nation in the world.
  • Bollywood with about 400 films every year is the largest center of film production in the world.
  • A mass singalong of 160,000 people in the Indian city of Hyderabad, in Andhra Pradesh, has broken a 72-year-old record for the world's largest choir.
  • Reliance Group of Companies in India has the maximum number of shareholders in the world.
  • Dr M.C. Modi holds the world record for performing maximum eye operations @ 40 operations per hour.
N.B. : I have collected this data from Amulyam

Sunday, August 25, 2013

Concept Of Million , Billion.......

Indian semantic International semantic Indian comma placement International comma placement
1 lakh 100 thousand 1,00,000 100,000
10 lakhs 1 million 10,00,000 1,000,000
1 crore 10 million 1,00,00,000 10,000,000
10 crores 100 million 10,00,00,000 100,000,000
1 Arab 1 billion 1,00,00,00,000 1,000,000,000
10 Arabs 10 billion 10,00,00,00,000 10,000,000,000
1 kharab 100 billion 1,00,00,00,00,000 100,000,000,000
10 kharabs 1 trillion 10,00,00,00,00,000 1,000,000,000,000
1 padam(shankh) 10 trillion 1,00,00,00,00,00,000 10,000,000,000,000
10 padams(shankhs) 100 trillion 10,00,00,00,00,00,000 100,000,000,000,000


Hello Friends I have collected this information From Wikipedia. For More Details please go through http://en.wikipedia.org/wiki/Indian_rupee