The Gateway to Computer Science Excellence
0 votes
72 views
How to do:(1000)base3 – (121)base3 without converting them to base 10 the final answer should be in base3
in CO and Architecture by (233 points) | 72 views

3 Answers

0 votes
$(1000)_{3} -(0121)_{3}$. This would be much like subtraction in decimal system , only with one small change . While doing a borrow , instead of 10 , 3 will be borrowed.

The subtraction can be seen like :-

$(0223)_{3} - (0121)_{3}$[This is after doing the borrows.Kindly do it once , if not able to get i'll show the entire steps.]

Thus the difference will be $(0102)_{3} = 1*3^{2} + 2*3^{0} = 9+2 = (11)_{10}$.

Let's confirm this by converting this to decimal system.

$(1000)_{3} = (27)_{10}$

$(0121)_{3} = (16)_{10}$

$(27)_{10} - (16)_{10} = (11)_{10}$.
by Loyal (5.8k points)
0 votes

First you should know that , in any number system while doing subtraction, the borrow value will be of the value of radix of number system.This is the reason why we take 10 as borrow in decimal number system.Here, as the number system radix is 3.Hence the borrow value is 3. I think now you can do it easily!

                        https://drive.google.com/file/d/1I-cOyQzIGQNauHyy5rkBmAV4D3XzDMR1/view

by (425 points)
edited by
0 votes

While subtracting we take borrow 3.

by Boss (35.6k points)
Quick search syntax
tags tag:apple
author user:martin
title title:apple
content content:apple
exclude -tag:apple
force match +apple
views views:100
score score:10
answers answers:2
is accepted isaccepted:true
is closed isclosed:true
50,648 questions
56,429 answers
195,217 comments
99,949 users