Friday, January 18, 2008

Board to Reverse-Board

Here is a not-so-interesting Puzzle

Imagine a chess board with 64 squares.

Define a Board :

1 2 3 4 5 6 7 8
9 10 11 12 13 14 15 16
17 18 19 20 21 22 23 24
25 26 27 28 29 30 31 32
33 34 35 36 37 38 39 40
41 42 43 44 45 46 47 48
49 50 51 52 53 54 55 56
57 58 59 60 61 62 63 64

Define a Reverse-Board

64 63 62 61 60 59 58 57
56 55 54 53 52 51 50 49
48 47 46 45 44 43 42 41
40 39 38 37 36 35 34 33
32 31 30 29 28 27 26 25
24 23 22 21 20 19 18 17
16 15 14 13 12 11 10 9
8 7 6 5 4 3 2 1

A 'Move' is defined as a horizontal or vertical swap between adjacent cells on the board.

The puzzle is -- How many minimum 'Moves' are required to transform Board to Reverse-Board.

Much Love.
Rohit

Sunday, January 13, 2008

Changes in song direction

This is how the direction in Indian movies has changed since years. The thing I am pointing out is the combined root mean squared deviation of the Hero and Heroine in the song.

First one shows the least deviation – As if they have crystallized. They do not even move 10 cms in the entire song.

Second one shows as if they are normal human beings.

Third one shows a high averaged value of root mean square deviation of all Heroes and Heroines.

Friday, January 11, 2008

Who was rich ?

Scene One

A man returned to India from a foreign country. He was on a trip to India. He boarded a flight from Bombay to New-Delhi. He had plenty of money with him and lot of luggage. Coming out of the airport, he hired an auto rickshaw. The rickshaw driver adjusted his luggage in the rickshaw. The man did not help him in this. He took it as his right. The auto rickshaw driver was a hardworking 20 years old boy. He greeted the man with a smile and took all the pains to adjust the luggage. He was working for a company who owned the rickshaw. It was raining lightly in Delhi. The man asked the auto rickshaw driver to take him to a certain place in Delhi. To the best of his knowledge the auto rickshaw driver took the shortest path to the desired place. However there was a decent amount of traffic on the road. It took about 15 – 20 minutes to reach the place. The rickshaw driver took out the luggage and kept it on the sidewalk and asked for the money. The meter was perfect and the bill was about 30 Rs. The man started arguing with the rickshaw driver. He asked him to decrease the amount. The rickshaw driver argued that the meter was fair and that the bill was correct. In the meanwhile some other vehicles started cluttering behind the rickshaw. The arguments heated up and the man was adamant to listen to the rickshaw driver. He scolded him and did not agree to pay 30 Rs. The rickshaw driver felt very low. A constable came seeing the situation and hit the rickshaw with his stick. Finally the boy gave up and asked to give 25 Rs. The man gave him that amount and left him. In the process, the man lost his temper and suffered from a high blood pressure for rest of the day, however he felt proud about the 5 Rs win he had over the rickshaw driver.

The rickshaw driver could not work with full heart after that loss of Rs. 5. For rest of the day he kept thinking about making up for that loss. Probably he worked a little extra.

Scene Two

A six years old boy went to a restaurant. The restaurant was pretty crowded and most of the tables were full. There were some single sitting stools but they were mostly occupied as well. He waited for the single sitter stools to get empty. Meanwhile a serving waitress came to him and said “You could order now! By the time you get your order there will be a place for you.” The boy was pretty hungry however all he had was about 6 dollars with him. That entire amount could get him a sandwich and a small basket of French fries. These two were probably sufficient for him. However he started calculating something. The waitress was waiting for him to order but he wont say anything but kept calculating something on his fingers. The waitress was pretty busy and got annoyed and left him. She returned after a while to see if he was ready to give the order. The boy ordered a sandwich. This time the waitress was even more annoyed. She uttered “what took this little chap so long to order just a sandwich.” After some time, the boy got a seat. Meanwhile, the waitress brought the sandwich also. The boy ate the sandwich and left. The waitress saw that the boy left about a dollar on the table as a tip to the waitress. He did not eat the French fries so that he could tip the waitress. Seeing this, the waitress was amazed. She realized that the boy was calculating the amount so that he would be able to leave some amount as a tip. That day, most of the other people did not tip her and she was in a bad mood. Tears came out of her eyes. She wiped her tears and then a smile appeared on her face seeing the boy again leaving the restaurant. She felt good about the tip and her lost smile returned back. The boy probably wasn’t full with the meal; however he had a satisfaction, the satisfaction that he tipped the waitress.

Who was rich -? The man in scene one or the boy in scene two?

Message – It is not the pocket which makes you rich. What makes you rich is the attitude you carry.

Much love
~Rohit

Thursday, January 10, 2008

Thank you Mr Tata !












Tata Motors recently launched this 100000 INR Car in India. The much anticipated $2,500 car, an ultra-cheap price tag will bring car ownership into the reach of tens of millions of people. Company Chairman Ratan Tata, introduced the ‘Nano’ during India's main auto show, drove onto a stage in a white version of the tiny four-door subcompact, his head nearly touching the roof.

With a snub nose and a sloping roof, the world's cheapest car can fit five people provided they squeeze. And the basic version is spare: there's no radio, no passenger-side mirror and only one windshield wiper. The chairman insists the car will meet safety standards and pollute even less than motorcycles, passing domestic and European emission standards and averaging about 50 miles per gallon (20 kilometers per liter). For now, the car will be sold only in India, but Tata has said it eventually hopes to export it. The Nano could become the basis for other similar super-cheap models in developing markets around the world.

However a huge influx of cars is a terrifying prospect of traffic jams at midnight, hours-long commutes and increasing pollution. In 2005, Indian vehicles released 219 million tons of carbon dioxide, the leading greenhouse gas blamed for global warming. Imagine the amount of heat generated by the burning of equivalent gasoline. By 2035, that number is projected to increase to 1,467 million tons, due largely to the expanding middle-class and the expected rise of low-cost cars.

I would anticipate launch of similar models by other car manufacturers in near future.

So good luck to the road makers, traffic controllers and pollution control boards!! – Guys – this is the alert signal for you !



Wednesday, January 09, 2008

Endeavors

Lately, I had been busy with my family in India and could not blog. I should post about my trip sometime with some of the photographs. For my dear readers, here is one short story.

This story is inspired from a presentation I received in a forwarded mail long time back. Unfortunately, I am not able to retrieve the presentation and even if I did, I would rather present this to you guys as a story. The story is about a frog that succeeded in his endeavors. Happy reading!

Much Love ~ Rohit

STORY

There was a village of frogs, frogs with different ages, different experiences and different temperaments. It was a society similar to any other society. In the center of the village there was a very tall tower. The tower was made of steel and had a spiral staircase. The younger ones would play around it. All the frogs wondered how the world looked from the top of the tower. However, none of the frogs had ever climbed the staircase. Many of them tried, but no one succeeded. One day a group of young frogs challenged another group for a competition. The competition was to make it to the highest point on the tower.

Soon, the news was spread in the village about the competition. All frogs wondered why this competition was being held if no one could have ever made it to the top. Some of the older frogs did not like this challenge. They worried that if the forefathers could not succeed in the task, how the younger generation was going to do that. They discouraged the frogs from not participating in such a challenge. However, some of the older frogs did appreciate this challenge and encouraged them.

The day of challenge was near and frogs started practicing to get to the top. Once again, none of the frogs could make it while the practice. Finally, the challenge day arrived. Now there was no time for practice. There was no going back. It was the fate of the frogs. All they could do was to take the challenge and participate in that.

All the village frogs collected around the tower. Everyone was cheering for the two groups. There were several frogs in both the groups. The two groups started together. Frogs started climbing the tower one after the other in trains. The initial process was exciting. Villagers kept cheering for all of them. In a short while, some of the frogs started feeling the fatigue. Some of them looked behind at the lengths they had covered. Some of them were satisfied with the lengths they had climbed. Some started giving up and climbed down. Rest of the frogs kept climbing up. The villagers were witnessing all this. After a long while, most of the frogs had given up and there were only two frogs that kept climbing.

The villagers were not very confident about their success and the excitement disappeared. They started yelling – “We don’t think you will make it to the top”. Two of the frogs kept climbing however. The voices were increasing – We don’t think you will make it to the top. We don’t think you will make it to the top. After some time, one of the two frogs gave up and took some time to rest. He was constantly listening to ever increasing voice. “We don’t think you will make it to the top”. He gave up and climbed down. He joined the group who was crying the same thing again and again. The last frog kept climbing and ultimately reached the top. He hoisted his flag at the top which said – Tower conquered. He found out how the world looked from the top. It was wonderful! The feeling he had was amazing. It was the feeling of conquer. It was the feeling of success. It was the feeling of doing something which no one had ever done. He felt proud about himself. His confidence increased. He climbed down with pride and confidence – that he could do it again, and again. The entire village was congratulating him on his success.

Why could he accomplish the task?

The villagers found later the frog was deaf. He did not (could not) listen to any of the voices. He listened only to his inner voice. The voice which always said – “try again, work hard until you succeed”.