Question: instead of using binary we could use ternary ( base 3 ) . How many operations would it take to compute x ^ 1 0

instead of using binary we could use ternary(base 3). How many operations would it take to compute x^100 using the ternary expansion of 100? Is it ever more efficient to use ternary over binary? If, yes, try to quantify how often ternary is better and how often binary is better/ Note there are many ways you can compare the two, from average number of operations to worst-case scenarios.

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Programming Questions!