Wednesday, 23 January 2013

Finger Multiplication of 6,7,8,9,10 Time Tables Trick to remember


Any easy way to remember multiplication of 6,7,8,9,10 Time Tables by fingers. This will help students to remember maths tables easily.

Place your fingers as in the below image and consider the value of fingers in each hand to be 6, 7, 8, 9 and 10 - in the order from small finger to thumb.






Example
Consider the multiplication of 7 × 8.
Make the finger numbered 7 in the left hand to touch the finger numbered 8 in the right hand.






Step 1: 
Now in the left hand, count the finger which is touching (7) and the ones below that = 2 fingers
Similarly in the right hand, count the finger which is touching (8) and the ones below that = 3 fingers
Add the above counted fingers = 2 + 3 = 5 fingers
Multiply the number by 10 = 5 × 10 = 50 -----> (1)

Step 2: 
In the left hand, count the fingers above the touching finger = 3 fingers
Similarly in the right hand, count the fingers above the touching finger = 2 fingers
Multiply both = 3 × 2 = 6 -----> (2)

Step 3: 
Add (1) and (2),
= 50 + 6 = 56
So, the answer for 7 × 8 = 56 which is easily found through the above trick.

Note: 
If there is no finger above the considered (touched) finger, then consider the value as zero (0).


Play the same for the below multiplications
6 × 6 = ?      6 × 7 = ?      6 × 8 = ?      6 × 9 = ?      6 × 10 = ?
7 × 6 = ?      7 × 7 = ?      7 × 8 = ?      7 × 9 = ?      7 × 10 = ?
8 × 6 = ?      8 × 7 = ?      8 × 8 = ?      8 × 9 = ?      8 × 10 = ?
9 × 6 = ?      9 × 7 = ?      9 × 8 = ?      9 × 9 = ?      9 × 10 = ?
10 × 6 = ?    10 × 7 = ?    10 × 8 = ?    10 × 9 = ?    10 × 10 = ?




Guess Age of a Person by Maths


Here is a mathematical trick, to know the age of a person.

Age Calculation Trick:
Step 1: Multiply the first number of the age by 5. (If <10, eg 5, consider it as 05. If it is >100, ex: 102, then take 10 as the first digit, 2 as the second one.)
Step 2: Add 3 to the result.
Step 3: Double the answer.
Step 4: Add the second digit of the number with the result.
Step 5: Subtract 6 from it.
Answer: That is your age.

Monday, 21 January 2013

Formula For Adding Sum To "N" Terms

Can you find a quick and elegant way to add the numbers from 1 to 30?
In other words, what is the sum you obtain in the following case?

1 + 2 + 3 + ....... + 30 =

Solution:

Here's an elegant way:

1 + 30 = 31
2 + 29 = 31
3 + 28 = 31
.....................
.....................
15 + 16 = 31

Adding the above equations gives

1 + 2 + 3 + ....... + 30 = 15 × 31 = 465

Food for thought:

The general formula is:

1 + 2 + 3 + ....... + n = n (n + 1) / 2.

Sunday, 20 January 2013

How to select all friends at once to invite friends on Facebook


Facebook invites are useful to invite your friends to view your website or to like your new Facebook page, you will see friends invite almost everywhere in Facebook.
Facebook invites are useful but a sometimes a hard job if you have large number of friends like me, i have 2525 friends on Facebook and thus it was very difficult for me to invite friends one by one.

When i started learning JavaScript, i came to know that we can easily select all check boxes by making a small JavaScript command line.

But before we start, make sure you are using Google Chrome or Firefox, they are good and major browsers, so using them makes sure that it will not create any problems. I will explain it in step by step procedures.

  1. Open Google Chrome
  2. Now open any event etc. where you can invite your friends
  3. Now scroll down until all your friends appears in the box
  4. Press CTRL+SHIFT+J (for Chrome), CTRL+SHIFT+K (for FireFox)
  5. A window will open in bottom or top of the browser
  6. Paste this line of JavaScript code in the console
javascript:elms=document.getElementsByName("checkableitems[]");for (i=0;i<elms.length;i++){if (elms[i].type="checkbox" )elms[i].click()};

After pasting click enter, now wait for a minute and and when all friends are selected click on send, if you have large number of friends it may take about 1 - 2 minutes for successfully sending the invites .


Thursday, 17 January 2013

Make an online calculator using HTML and JavaScript


The calculator is made from ONLY basic HTML and some JavaScript. There is absolutely NO PHP.


So, lets begin!


First, you obviously want to either create a new document or open an existing one.

Now, we need to start a form.
This is needed for the JavaScript to work!


<form name="calc">


For better looks, and to make it look like a calculator, you need to make a table.
If you don't have any CSS styles for tables, you should use borders.

<table border="1">



<table>


Now we have our table.

Continue in the next page.



Right, so now we need some columns and rows.
For a better look, we will use the width parameter
<tr><td colspan=3 width=75%></td><td width=25%></td></tr>

<tr><td width=25%></td><td width=25%></td><td width=25%></td><td width=25%></td></tr>

<tr><td width=25%></td><td width=25%></td><td width=25%></td><td width=25%></td></tr>

<tr><td width=25%></td><td width=25%></td><td width=25%></td><td width=25%></td></tr>

<tr><td width=25%></td><td width=25%></td><td width=25%></td><td width=25%></td></tr>


In  the first row (<tr><td colspan=3 width=75%></td><td width=25%></td></tr>) we have only two columns, but if you check in your browser the left one is wider. That is because of the colspan parameter.
The wide column will be our 'display', and the smaller one is the C button. The display is in the wide one, because on calculators, your display isn't in the size of a button :P.

This is the layout of our table.

Continue to the next page


The first row.

Display:

This one is pretty simple.

<input name="wtcalc" type="text">

"Come on, there must be more than that to it!"

But there isn't! The name of the field is important though. If you change it you will need to change a lot (15 things)  here. So better keep it as I have.

Clear button:

Now the thing you all've been waiting for, JavaScript!

<input type="button" onClick="document.calc.wtcalc.value=''" value="C" name="C" title="C">


JavaScript is in the onClick value. When you click on the button, it first selects the form by it's name (that is why you need to keep the names!), our 'display', which is an text input field, and then it is told to set the value of "wtcalc" to nothing. That means that it is cleared.


So, the first row should look something like this:

<tr><td colspan="3" width="75%"><input name="wtcalc" type="text"></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value=''" value="C" name="C" title="C"></td></tr>


The first row is completed, now with the next 3 ones.

Go to the next page



Numbers


We need a way to enter numbers, right? Of course, here's how we do it.

<input type="button" onClick="document.calc.wtcalc.value+='1'" value="1" name="1" title="1" >


The start of the onClick is quite the same, but now it is changed to wtcalc.value+='1' .
That means it needs to add to our field the number 1 (one).

The 3 number rows:

<tr><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='1'" value="1" name="1" title="1" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='2'" value="2" name="2" title="2" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='3'" value="3" name="3" title="3" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='+'" value="+" name="+" title="+" ></td></tr>

<tr><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='4'" value="4" name="4" title="4" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='5'" value="5" name="5" title="5" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='6'" value="6" name="6" title="6" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='-'" value="-" name="-" title="-" ></td></tr>

<tr><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='7'" value="7" name="7" title="7" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='8'" value="8" name="8" title="8" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='9'" value="9" name="9" title="9" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='*'" value="*" name="*" title="*" ></td></tr>


Next page, last row







Last row

I am just going to post the code.

<tr><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='.'" value="." name="." title="." ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='0'" value="0" name="0" title="0" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value=eval(calc.wtcalc.value);" value="="></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='/'" value="/" name="/" title="/" ></td></tr>


The eval calculates what is written in wtcal field.

Last page, next page




Full script

<form name=calc>

<table>

<tr><td colspan="3" width="75%"><input name="wtcalc" type="text"></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value=''" value="C" name="C" title="C"></td></tr>

<tr><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='1'" value="1" name="1" title="1" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='2'" value="2" name="2" title="2" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='3'" value="3" name="3" title="3" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='+'" value="+" name="+" title="+" ></td></tr>

<tr><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='4'" value="4" name="4" title="4" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='5'" value="5" name="5" title="5" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='6'" value="6" name="6" title="6" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='-'" value="-" name="-" title="-" ></td></tr>

<tr><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='7'" value="7" name="7" title="7" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='8'" value="8" name="8" title="8" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='9'" value="9" name="9" title="9" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='*'" value="*" name="*" title="*" ></td></tr>

<tr><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='.'" value="." name="." title="." ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='0'" value="0" name="0" title="0" ></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value=eval(calc.wtcalc.value);" value="="></td><td width="25%"><input type="button" onClick="document.calc.wtcalc.value+='/'" value="/" name="/" title="/" ></td></tr><a href="http://mathematicaltrick.blogspot.com/2013/01/make-online-calculator-using-html-and.html">Get This Gadget</a>

</table>

</form>



And that is it actually. I hope you enjoyed this tutorial and you like it :).



If you have any problems, please contact me here.

Wednesday, 16 January 2013

Impress your friends with mental Math tricks


Being able to perform arithmetic quickly and mentally can greatly boost your self-esteem, especially if you don’t consider yourself to be very good at Math. And, getting comfortable with arithmetic might just motivate you to dive deeper into other things mathematical.

This article presents nine ideas that will hopefully get you to look at arithmetic as a game, one in which you can see patterns among numbers and pick then apply the right trick to quickly doing the calculation.

The tricks in this article all involve multiplication.

Don’t be discouraged if the tricks seem difficult at first. Learn one trick at a time. Read the description, explanation, and examples several times for each technique you’re learning. Then make up some of your own examples and practice the technique.

As you learn and practice the tricks make sure you check your results by doing multiplication the way you’re used to, until the tricks start to become second nature. Checking your results is critically important: the last thing you want to do is learn the tricks incorrectly.

1. Multiplying by 9, or 99, or 999

Multiplying by 9 is really multiplying by 10-1.

So, 9×9 is just 9x(10-1) which is 9×10-9 which is 90-9 or 81.

Let’s try a harder example: 46×9 = 46×10-46 = 460-46 = 414.

One more example: 68×9 = 680-68 = 612.

To multiply by 99, you multiply by 100-1.

So, 46×99 = 46x(100-1) = 4600-46 = 4554.

Multiplying by 999 is similar to multiplying by 9 and by 99.

38×999 = 38x(1000-1) = 38000-38 = 37962.

2. Multiplying by 11

To multiply a number by 11 you add pairs of numbers next to each other, except for the numbers on the edges.

Let me illustrate:

To multiply 436 by 11 go from right to left.

First write down the 6 then add 6 to its neighbor on the left, 3, to get 9.

Write down 9 to the left of 6.

Then add 4 to 3 to get 7. Write down 7.

Then, write down the leftmost digit, 4.

So, 436×11 = is 4796.

Let’s do another example: 3254×11.

The answer comes from these sums and edge numbers: (3)(3+2)(2+5)(5+4)(4) = 35794.

One more example, this one involving carrying: 4657×11.

Write down the sums and edge numbers: (4)(4+6)(6+5)(5+7)(7).

Going from right to left we write down 7.

Then we notice that 5+7=12.

So we write down 2 and carry the 1.

6+5 = 11, plus the 1 we carried = 12.

So, we write down the 2 and carry the 1.

4+6 = 10, plus the 1 we carried = 11.

So, we write down the 1 and carry the 1.

To the leftmost digit, 4, we add the 1 we carried.

So, 4657×11 = 51227 .

3. Multiplying by 5, 25, or 125


Multiplying by 5 is just multiplying by 10 and then dividing by 2. Note: To multiply by 10 just add a 0 to the end of the number.

12×5 = (12×10)/2 = 120/2 = 60.

Another example: 64×5 = 640/2 = 320.

And, 4286×5 = 42860/2 = 21430.

To multiply by 25 you multiply by 100 (just add two 0’s to the end of the number) then divide by 4, since 100 = 25×4. Note: to divide by 4 your can just divide by 2 twice, since 2×2 = 4.

64×25 = 6400/4 = 3200/2 = 1600.

58×25 = 5800/4 = 2900/2 = 1450.

To multiply by 125, you multipy by 1000 then divide by 8 since 8×125 = 1000. Notice that 8 = 2×2x2. So, to divide by 1000 add three 0’s to the number and divide by 2 three times.

32×125 = 32000/8 = 16000/4 = 8000/2 = 4000.

48×125 = 48000/8 = 24000/4 = 12000/2 = 6000.

PingMyUrl.com - Free Submission and Ping Service