0 votes 0 votes 5's complement of a given number (43)base8,when it is expressed with base 5? neha singh asked Feb 4, 2017 neha singh 636 views answer comment Share Follow See all 0 reply Please log in or register to add a comment.
Best answer 2 votes 2 votes (43)8 = 4*8 + 3*1= 32+3=35 in decimal convert to base 5: 5 | 35 5 | 7 .........0 1.......2 so: 120 4's complement will be 444 -120 =324 5's complemet= 324+1= 330 Debasmita Bhoumik answered Feb 4, 2017 selected Feb 4, 2017 by sudsho Debasmita Bhoumik comment Share Follow See all 11 Comments See all 11 11 Comments reply neha singh commented Feb 4, 2017 reply Follow Share When added 1 how u get 44330 instead of 44325@Debasmita 0 votes 0 votes Debasmita Bhoumik commented Feb 4, 2017 i edited by Debasmita Bhoumik Feb 4, 2017 reply Follow Share 324+1= 330 because, 324 +1 ---------- 330 when 4+1 is 5... but base is 5 (so we can take 0 1 2 3 4 only, like in base 2 we have0 and 1, in base 10 we have 0-9) so write 0, carry 1.. to next bit(like in binary, 11+1=100) is it clear now @neha? 0 votes 0 votes sudsho commented Feb 4, 2017 reply Follow Share edit ur comment please^ 1 votes 1 votes Debasmita Bhoumik commented Feb 4, 2017 reply Follow Share oh thanx for edit @sudsho.. i was so wrong ..took 5 bits by mistake 1 votes 1 votes neha singh commented Feb 4, 2017 i edited by neha singh Feb 4, 2017 reply Follow Share no its not clear @debasmita 0 votes 0 votes sudsho commented Feb 4, 2017 reply Follow Share ^ can u represent 5 in base 5? 0 votes 0 votes neha singh commented Feb 4, 2017 reply Follow Share i think it should be 10 0 votes 0 votes sudsho commented Feb 4, 2017 reply Follow Share thats what has been done in the answer...so what is ur doubt? 0 votes 0 votes neha singh commented Feb 4, 2017 reply Follow Share yaa now its clear..thnx sudsho 1 votes 1 votes neha singh commented Feb 4, 2017 reply Follow Share Actually i thought that it is just normal addition but actually it is bit addition..is the point where i was stuck 0 votes 0 votes sudsho commented Feb 4, 2017 reply Follow Share normal addition is also bit addition :) 0 votes 0 votes Please log in or register to add a comment.