Friday, December 11, 2009

Multiplication simplified

I was stumbling today like always and I came across a nice article which might be useful to all of us. So I am writing it here. I hope you like this.

It's always easy to multiply  numbers with  multiple of 10. That is exactly what this algorithm uses for simplified multiplication.

The algorithm is called “Nikhilam Navatascaramam Dasata.” It is part of a system of algorithms and mnemonics to remember them, collectively known as “Vedic Math”, that was developed by Jagadguru Swami Bharati Krishna Tirthaji Maharaj in the early 20th century.


Lets start with a simple example.

                  7 
                 x8
                
First find a suitable multiple of 10 for both of the numbers. In this case the suitable multiple is 10. Then write the difference between the numbers to be muliplied, and the multiple, off to the right:
multiple 10

                  7     | -3
                x 8     | -2

Multiply the differences. -3 x -2 = 6. The number of digits in the product and number of zeros in our multiple(1 in our case) should be equal; if we don't have enough, we should add leading zeros(we don't need to that here). Write the product on the right side of the answer:
multiple 10

                 7     | -3
               x 8     | -2
              ________

                       | 6  

Now add the difference between the one number to be multiplied and 10, to the other number to be multiplied. Pick either combination, because you will get the same result
8 + (– 3) = 5  OR  7 + (– 2) = 5
Put the result on the left side of the answer:
multiple 10

                7     | -3
              x 8     | -2            7 x 8 = 56            
             ________

                   5  |  6   
                  

Now let's try it with significantly bigger numbers, to see why this is such an advantage.
                98     
              x 89
              ____


Since both numbers are close to 100, we will use 100 as our multiple. Write the difference between the numbers to be muliplied, and the multiple, off to the right. Because 100 has two zeroes, we need two digits on the right hand side.

multiple 100

                98     | (-2)    
              x 89     | (-11)             98 x 89 = 8722
            ___________
                  87   |  22

The 87 comes from either 89 + (-2), or 98 + (-11). The 22 comes from (-2) x (-11). You can do this problem in your head. Let's try another one, to show when you need to add leading zeros to the right side:
multiple 100

               98      (-2)    
             x 97      (-3)              98 x 97 = 9506
            ___________
                  95 | 06

The 95 comes from either 97 + (-2) or 98 + (-3). The 06 comes from (-2) x (-3). We need to add a leading zero, because the multiple is 100 so we need two digits on the right-hand side.

Let's try another example where the numbers to be multiplied are on either side of a multiple of 10(here 100):
                 104     (+4)
               x  98     (-2)
             __________
                   102 | -08

we have a negative on the right! Add it to the left hand side:
              10200 + (-08) = 10192

              104 x 98 = 10192

Let's try bigger numbers.
Multiple 1000

                       995     (-5)
                      x998     (-2)
                    __________
                         993  | 010

993 = 995 + (-2) OR 993 = 998 + (-5). 010 comes from (-5) x (-2) = 10, then one leading zero is added because we need 3 digits because our multiple is 1000.


This is all I have for this post, I hope you found it interesting.......

Tuesday, December 8, 2009

Climate change and Nepal

Everybody is talking about climate change and even I felt like talking about it. Actually I wanted to talk about climate change and Nepal. I was just going through a blog in www.nagriknews.com today and there was this topic,"खाँदै नखाएको बिष".
Even I believe that underdeveloped countries like Nepal are suffering because developed countries didn't cared about others and just thought about themselves. And now climate change has affected underdeveloped countries the most. 
We all know the Copenhagen summit is going on but how many of us actually believe that this summit is actually going to bring any change. We have been through the Kyoto summit and we all know what US did. Who can guarantee that this time around China won't do the same.
What I think is that we shouldn't actually rely on these big countries to do any thing for us, instead why don't we try from our own side. We can start from small things if we can't do anything big.
At this point of time we have some more important issues than climate change......our cities are getting polluted, walking without a mask is getting harder. Garbage management is getting harder, heaps of litter are piled up in the streets.


So lets try guys, I am thinking that I won't litter my city any more.....what about you?


Friday, December 4, 2009

Late Night Surfing.....

It's around half past eleven, and its dark. Slowly people like me are being filtered by the inevitable sleep....and I am surfing :)
To my knowledge there are two types of surfing, though  I don't know how to surf in the sea but the other one, hell ya. I am always stealing time from my sleep so that I can surf, not because I have taken a night plan from my ISP, neither am I using dial up connection.

I still remember the first time I was surfing the internet late night, I was my first year in college and my room mate(Niraj) had a computer. Those were crazy days :), we had our time divided. Late night was my time. I always had red eyes in the class and couldn't help sleeping. Sometimes our teacher would ask me to go and wash my face :).
But now, I think I am just used to it. It feels good that I have perfected (if not mastered) the art of late night surfing.......