Posts

Showing posts from January, 2021

The Correct Way to Teach Multiplying by 10

Image
 The Correct Way to Teach Multiplying by 10 How do you teach multiplying with 10?  As you may have guessed, when multiplying by 10, the best way to teach is to "just add a zero". So, if I do 7 x 10, I will get  70. Similarly, 23 x 10, gives 230 BUT,  does this trick also work when you multiply a decimal number with 10?  Let's give it a try, try multiplying 5.4 by 10. You will get 5.40, which is not the correct answer!  So, why not learn the right way to multiply by 10.  Let's try this. Instead of adding a zero, we will move each digit one place value to the left, then put a 0 in the spot with no value as a placeholder. 1 would become 10, 5 would become 50, 73 would become 730, 4.5 would become 43, etc.  Now let's try to multiply with this new strategy: 7 x 10 would get us 70, which is correct. 23 x 10 would get us 230, which is correct.  And 5.4 x 10 would get us 54, which is correct! So, if you were taught to "just add a zero" when you multi...

Reverse the Digits of an Integer

Image
Here we are trying to write a code to write a given number backwards. For example, if the input number is 123 then the code will print the digits in reverse order ie 321 Flowchart To Reverse the Digits of an Integer Python Source Code To Reverse the Digits of an Integer The Output

N'th Number in Fibonacci Sq

Image
 The fibonacci sequence is a sequence where the next number is the sum of the previous number and the current number. The first 5 numbers in it are 1, 1, 2, 3, and 5. Flowchart To Find N'th Number in the Fibonacci Sequence Python Source Code To Find N'th Number in the Fibonacci Sequence The Output

Sum of an Arithmetic Series

Image
A sequence of numbers is called an Arithmetic series when the difference between any two consecutive numbers in the series is always the same. For example, 1,4,7,10,13,16 .... is an arithmetic sequence with the starting number as 1 and the difference between. each term is 3.  A Flowchart to Calculate the Sum of an Arithmetic Series Python Source Code to Calculate the Sum of an Arithmetic Series Output For the Sequence 1+2+3+4...+99+100 Output For the Sequence 2+7+12+17+22 Mathematical formula  Using the above method to find the sum of an arithmetic series can be a time consuming task, if the number of terms is large. For example, given the arithmetic sequence whose first few terms are :                                                  2,5,8,11,14,17,....... If we need to calculate the sum of its first 100 terms, we can do that by addi...

How to add Consecutive numbers

Image
 What are consecutive number  A sequence of numbers is a sequence of numbers where there is the same difference between each term. Flowchart Python Source Code for Sum of Consecutive Numbers Mathematical Formula to Derive Sum of Consecutive Numbers Firstly, let the whole sum be 'S' Next, Rewrite S in reverse order Now, Add the two equations, term by term Each term is the same , and there are 100 of them.  Therefore we can simplify it to:  So, we can derive the formula for the sum of numbers from 1 to any number as Python Source Code for Mathematical Formula to Derive Sum of Consecutive Numbers

Find out if a Number is Even or Odd

Image
E ven numbers are completely divisible by 2 and have a remainder of zero. W hen divided by 2, an odd number will always have a remainder greater than 0.  We can write a python program using the same logic to  determine if the given number is even or odd. Here is a simple flowchart for the problem.  Python Source Code  Python programming concepts covered are :  Operators ( we use the remainder operator % to compute the remainder )  If..else statement