Multiplication from another perspective

Do you remember that old days when you were struggling to memorize the multiplication table? What if I told you that you didn’t need to memorize the whole table? 😀

While I was watching an online course on edX called “Effective Thinking through Mathematics” Professor Michael Starbird introduced an effective way to do multiplication operations. Suppose that you have a 5*5 grid as the following:

 

fivebyfive

Then I asked you to make that squared grid a 4*6 rectangular grid by simply removing the grid’s top row and concatenating it as a new column, which will result in the following:

 

fourbysix1

How many squares should we get rid off to obtain the correct 4*6 rectangular grid? Simply the one which is colored above!

Alright. Then I asked you again, starting from the 5*5 grid, to obtain a 3*7 rectangular grid from that squared grid by removing the top two rows and concatenating them as two new columns. The result will be:

threeby7

Now, how many squares should we get rid off to obtain the correct 3*7 grid? Again, the four colored squares.

Have you realized what’s going on? We are removing a^2 squares each time we’re converting the n-squared grid to a (n-a)*(n+a) rectangular grid.

12757724475_24ffc973fc_b

You are now probably wondering what’s the relation between those grids and multiplication. The answer is that if you want to do the following operation: x*y, where x<y, you can can calculate the number n as (x+y)/2 and the number a as (n-x) and do your operation by subtracting a^2 from n^2, which means that you only need to memorize the squares of the numbers not the whole multiplication table!

Will that method be valid if the sum of x and y is odd? YES! For example, if we are multiplying 6*7, then n equals 6.5 and a equals 0.5, by applying our method: (6.5)^2 – (0.5)^2 = (42.25)-(0.25) = 42 = 6*7!

I am feeling sorry for your suffer while you were a kid (and for myself too :D), but you can still save another kids from what we went through :D.

 

I’ll be happy to read your positive or negative feedback!

هنا حيث اللا شئ

هنا حيث يُهان العالِم ويُكَرَم الجاهل,

هنا حيث يحكم الظالم ويتألم المظلوم,

هنا حيث يسود الجهل ويزيد البطش,

هنا حيث تتحطم الأحلام وتتبدد الآمال,

هنا حيث ييأس الشباب ويخطط الأجداد,

هنا حيث اللا شئ,

هنا القاهرة…

حاسبات ومعلومات, السنة الثالثة!

طيب من غير مقدمات كتير, فات سنتين على دخولي الكلية من غير تحقيق أي انجاز أو تحصيل يذكر, وبناء عليه جمعت شوية كورسات أون لاين ليا وللي حابب يلم اللي وقع منه قدر الامكان.

اخترت الكورسات دي بناء على المواد اللي وقعت مني خلال السنتين اللي فاتوا واللي تعتبر أساسية ولا يمكن تجاوزها, لذلك ممكن الكورسات دي ماتبقاش مناسبة لبعض الناس حسب درجات تحصيلهم, بالاضافة لشوية كورسات هنشتغل فيها السنة دي.

أخيرا, ان شاء الله هيتم تحديث البلوج دي كل فترة, والله المستعان.

Enjoy! 😀

Discrete Mathematics:
http://ocw.mit.edu/courses/electrical-engineering-and-computer-science/6-042j-mathematics-for-computer-science-fall-2010/index.htm
(8 hrs/week)
(2 lec./week)
(13 weeks)

Linear Algebra:
https://www.edx.org/course/linear-algebra-foundations-frontiers-utaustinx-ut-5-03x
(8 hrs/week)
(15 weeks)

Introduction to Mathematical Thinking:
https://www.coursera.org/course/maththink
(8 hrs/week)
(10 weeks)

UPD: (After Finishing the first two weeks I’ve found that I don’t need that course currently as its materials are already included in MIT Course mentioned above)

Introduction to Differential Equations:
https://www.edx.org/course/introduction-differential-equations-bux-math226-1x
(8 hrs/week)
(7 weeks)

Linear Differential Equations:
https://www.edx.org/course/linear-differential-equations-bux-math226-2x
(8 hrs/week)
(6 weeks)

Probabilities and Combinatorics:
https://www.khanacademy.org/math/probability
(2 hrs/week)

Algorithms 1:
https://www.coursera.org/course/algo
(6 hrs/week)
(6 weeks)

Algorithms 2:
https://www.coursera.org/course/algo2
(8 hrs/week)
(6 weeks)

Automata:
https://www.coursera.org/course/automata
(8 hrs/week)
(6 weeks)

Note: Problem Solving: 1-2 hours per day through out your life! 😀

Sources:
https://www.google.com/about/careers/students/guide-to-technical-development.html

http://blog.agupieware.com/2014/06/online-learning-intensive-bachelors.html

edx.org

coursera.org

بين الشرق والغرب

من نحن؟ لا أدري، لربما نحن قوم نسوا أنفسهم وانتسبوا لغيرهم، فما كانوا أنفسهم وما كانوا غيرهم.
هذا ما نعيشه الآن، مشتتين بين حضارة الغرب منسلخين عن هويتنا وديننا، لا نكتفي بذلك وحسب، بل ونهاجم هذه الهوية لنكون هم، وما أبعدنا عن هم، وما أبعدنا عن نحن.
نتج كائن مسخ لا لون له ولا طعم.

“جُـلُّ مـن قـلَّـد الـفرنجة منا قـد أسـاء الـتـقـليد والتمثيلا فـأخـذنـا الخبيث منهم ولم نقتبـسِ مـن الـطـيّبات إلا قليلا يـوم سـنَّ الـفرنج كذبةَ إبريــلَ غـدا كـل عُـمْـرنا إبريلا نـشـروا الرجس مجملاً فنشرناهُ كـتـابـاً مـفـصَّلاً تفصيلا”

{ مَن كَانَ يُرِيدُ الْعِزَّةَ فَلِلَّهِ الْعِزَّةُ جَمِيعًا }

How to install Ubuntu 14.04 alongside Windows 8.1

Hello, I am going to explain how to install Ubuntu 14.04 alongside Windows 8.1 step by step:

*NOTE: Please back up all your data before proceeding any step, I am not responsible for any loss of data! 😀

*This tutorial isn’t the best way to install Ubuntu 14.04 alongside Windows 8.1, but it’s a working one.

*This tutorial is for whom didn’t find the alongside option appearing in the following picture

1- Download Ubuntu 14.04 from the following link and follow the burning tutorial included:

http://www.ubuntu.com/download/desktop

2-Burn both windows 7 & windows 8.1 on DVDs.

3-Boot windows 7 by restarting your computer and pressing F12 on the computer start up to open the boot menu.

4-Choose the DVD drive where windows 7 disc is available.

5-Proceed until the partitions step. Make a partition for Ubuntu, Windows 7 and a partition for your data (optional).

6- Format the partitions on which Windows 7 and Ubuntu are going to be installed.

7-Choose the partition where you are going to install windows 7 on.

8-Proceed with Windows 7 installation.

9-Boot Ubuntu by Following the instructions in this tutorial until Step 3 ONLY.

http://www.ubuntu.com/download/desktop/install-ubuntu-desktop

10- Choose “Something Else” option.

11-Now you should find the three partitions you have made previously.

12-Select the partition where you want to install Ubuntu and press the minus sign “-” below.

13-Select the free space obtained from the previous step and press the plus sign “+” below.

14-Let the size be equal to your RAM size, choose “logical” at “Type for new partition”, choose “swap area” at “Use as”.

15-Select the free space again and press the plus sign.

16-Do not change the size, just choose “logical” and “/” at “mount point”.

17-Choose the partition made in the previous step to install Ubuntu on and proceed with the installation.

18-By reaching this step you should have two operating systems on your PC and most likely on the computer start up Ubuntu opens automatically, to solve this problem make the following step.

19-Open the terminal and write the following sudo grub-install /dev/sd1

20-Now you could choose either windows 7 or Ubuntu on start up from Ubuntu boot loader.

21-Insert Windows 8.1 disc and install it on the partition where Windows 7 is installed.

22-After finishing windows 8.1 installation you will find that the options on PC start up did’t change (either windows 7 or Ubuntu), don’t worry, just choose windows 7 if you want to open Windows 8.1 😉

23-Finally, un-tick the fast start up option from windows 8.1 control panel to access the data on the other partitions from Ubuntu.

24-Congrats! 😀