Ex 11.1, 5 - What happens if we do not include the fifth step in - Exercise Set 11.1

part 2 - Ex 11.1, 5 - Exercise Set 11.1 - Chapter 11 Class 9 - The World of Algorithms (Ganita Manjari) - Maths Class 9

part 3 - Ex 11.1, 5 - Exercise Set 11.1 - Chapter 11 Class 9 - The World of Algorithms (Ganita Manjari) - Maths Class 9

part 4 - Ex 11.1, 5 - Exercise Set 11.1 - Chapter 11 Class 9 - The World of Algorithms (Ganita Manjari) - Maths Class 9

Remove Ads
Teachoo · Class 9 Explore Class 9

Transcript

Ex 11.1, 5 What happens if we do not include the fifth step in the algorithm above? Give examples where the algorithm will work correctly and where it will fail to work. We are talking about these steps Step 5 writes the final carry on the left Algorithm to add two numbers 1. Write the numbers one below the other in the Indian base- ten place-value system so that the digits are aligned from right to left. . Add the rightmost digits. -— If the sum is less than 10, write the sum directly below the two digits. Set the value of carry to 0. — If the sum is more than 10, write the units digit of the sum directly below the two digits. Set the value of carry to 1. . Move to the next column of digits on the left. Add the two digits and the current value of carry. . Repeat Step 3 until there are no more digits on the left. . If the value of carry is 1, write 1 to the left of the bottom row. Let’s look at both cases Case 1 - The algorithm still works Adding 2468 + 1231 Our steps are Step 1: Align Step 2: Add O Step 3: Add T Step 4: Add H Step 5: Add Th Th H T O° Th H T oO Th H T O° Th H T O° Th H T O° 2468 2468 2468 2468 246 8 +1231 +1231 +1231 +1231 +1231 5 9 699 3699 Since there is no final carry, omitting Step 5 doesn’t change the answer Case 2 - The algorithm fails Adding 8765 + 3456 Our steps are Step 1: Align Step 2: Add O Step 3: Add T Step 4: Add H Step 5: Add Th Step 6: Write Carry Th H T fo} Th H T fo} Th fo} Th H T fo} Th H T fo} TTh Th H T fo} 1 11 1 11 1 11 1 7 4 8765 8 +3456 +3456 £4+3 1 8 5 8765 — — + 3 6 +3456 +3456 i 6 ° ————_—_———— 2 2221 12221 m= |O>) Ol oe N | Ol © The digits written so far form 2221, but a carry remains. Writing the carry gives: 8765 + 3456 = 12221 Without Step 5, the answer would incorrectly be 2221. Thus, Omitting the final-carry step causes an error whenever a carry remains after the leftmost column. Step 1: Align Step 2: Add O Step 3: Add T Step 4: Add H Step 5: Add Th Step 6: Write Carry Th H T fo} Th H T fo} Th fo} Th H T fo} Th H T fo} TTh Th H T fo} 1 11 1 11 1 11 1 7 4 8765 8 +3456 +3456 £4+3 1 8 5 8765 — — + 3 6 +3456 +3456 i 6 ° ————_—_———— 2 2221 12221 m= |O>) Ol oe N | Ol ©

CA Maninder Singh's photo - Co-founder, Teachoo

Made by

CA Maninder Singh

CA Maninder Singh is a Chartered Accountant qualified since 2010 and an educator teaching since 2006. At Teachoo, he draws on his accounting and tax experience to explain Accounts, Income Tax and GST through step-by-step lessons and practical examples.

For an uninterrupted learning experience, students can use Teachoo Black to remove ads and focus better.