2017q3 Homework1 (ternary) contributed by < hfming225
> Balanced Ternary Introduction
Balanced Ternary is a ternary (base
) number system in which the digits have the values
and
.
Usually,
is represented as overturned
:
.
We can use the Bal3 at the subscript to show which number system it belong to.
e.g.
Conversion Bal3 to Dec
Use the following formula:
We can convert
to
.
e.g.
Dec to Bal3 Now we try to convert
back to
Take the number
Round to
and
(because 5.7 … is closed to 6)
Divided it into integer and frcation.
For integer part:
So we get the integer part
For fraction part:
So we get the fraction part
In conclusion,
positive and nagetive Number When we represent number in Binary or Ternary, notice that one more digit is needed to show positive or negative.
But in the
, because of
Let every digit times -1, get the opposite number,
e.g
Balanced Tarnery Adder Three-valued logic There are three value in Tarnery system.
-1 for false, 0 for unknow, 1 for true.
We can use these vaule to build follow truth table.
Truth table NEG
AND
OR
Half Adder With above logic operation, try to build a half adder
By logic design we try to make follow circuit
Image Not Showing
Possible Reasons
The image file may be corrupted The server hosting the image is unavailable The image path is incorrect The image format is not supported
Learn More →
Now, we need "SUM" and CONS.
Truth table
In article Balanced Full Adder
Imply that
Full Adder With concept of half adder we can get a full adder.
Image Not Showing
Possible Reasons
The image file may be corrupted The server hosting the image is unavailable The image path is incorrect The image format is not supported
Learn More →
Pros and cons Advantage
Easier than binary to do addition, subtraction and mutiplication.
Because signed and unsigned are balanced, so subtraction is same as addition with negative.
Low Radix Economy which estimate the efficiency of the number system.
Disadvantage
Difficult to make a three type voltage circuit.
Now our transitor is low voltage, hard to make it in three voltage stablely.
Division is harder than binary, needed another "trit" to implement.
Ternary Division
Application IOTA, Introduction
IOTA is a new cryptocurrency that focused on Machine-2-Machine (M2M) transactions.
It provides efficient, secure, lightweight, real time micro-transactions without fees.
It is open-source, decentralized cryptocurrency , engineered for Internet of Things.
Its real-time micro transactions and providing ecosystem that is ready and flexible for scale.
IOTA core : Tangle
IOTA is based on Tangle instead of blockchain.
Tangle vs. Blockchain
Tangle retain the blockchain features of the distributed ledger and secure transactions.
Instead of blockchain, Tangle uses the form of a Directed Acyclic Graph (DAG).
Directed Acyclix Graph (DAG)
Why is DAG better than blockchain? Because DAG technology enables various features like zero-cost transactions, infinite scalability or offline transactions that blockchain simply cannot do and will neither probably be developed to do.
Image Not Showing
Possible Reasons
The image file may be corrupted The server hosting the image is unavailable The image path is incorrect The image format is not supported
Learn More →
Image Not Showing
Possible Reasons
The image file may be corrupted The server hosting the image is unavailable The image path is incorrect The image format is not supported
Learn More →
IOTA structure is like the ( C ) in picture. [Why is iota ternary]
Radix economy in base on 3 is lowest.
Ternary 3 states perform transaction very balanced, which is quite helpful to build a self-organizing and self-sustaining network like the tangle.
Reference Wikipedia : Balanced Ternary
The Balanced Ternary Machines of Soviet Russia
Balanced Full Adder
IOTA討論
the tech behind iota
Tangle
How IOTA makes bright future for Internet of Things