<?xml version="1.0" encoding="utf-8"?>
<?xml-stylesheet type="text/xsl" href="https://peda.net/:static/532/atom.xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom">
<title>9. Numeral systems</title>
<id>https://peda.net/id/1900a8c72cf</id>
<updated>2022-09-05T12:42:41+03:00</updated>
<link href="https://peda.net/id/1900a8c72cf:atom" rel="self" />
<link href="https://peda.net/qis/2022-2023/mathematics/ematematiikka-722/oipjp/9l#top" rel="alternate" />
<logo>https://peda.net/:static/532/peda.net.logo.bg.svg</logo>
<rights type="html">&lt;div class=&quot;license&quot;&gt;Tämän sivun lisenssi &lt;a rel=&quot;license&quot; href=&quot;https://peda.net/info&quot;&gt;Peda.net-yleislisenssi&lt;/a&gt;&lt;/div&gt;&#10;</rights>

<entry>
<title>Exercises</title>
<id>https://peda.net/id/1900f60c2cf</id>
<updated>2020-05-12T12:40:37+03:00</updated>
<link href="https://peda.net/qis/2022-2023/mathematics/ematematiikka-722/oipjp/9l/teht%C3%A4v%C3%A4t2#top" />
<content type="html">&lt;a href=&quot;https://peda.net/id/190294462cf&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Basic exercises&lt;br/&gt;&#10;&lt;/a&gt;&lt;a href=&quot;https://peda.net/id/1904d09b2cf&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Applied exercises&lt;/a&gt;&lt;br/&gt;&#10;&lt;a href=&quot;https://peda.net/id/190626c32cf&quot; rel=&quot;noopener&quot; target=&quot;_blank&quot;&gt;Challenging exercises&lt;/a&gt;</content>
<published>2022-09-05T12:42:41+03:00</published>
</entry>

<entry>
<title>Base number</title>
<id>https://peda.net/id/1901df2c2cf</id>
<updated>2020-10-12T13:15:45+03:00</updated>
<link href="https://peda.net/qis/2022-2023/mathematics/ematematiikka-722/oipjp/9l/kantaluku#top" />
<content type="html">Can the numbers 110101 and 53 be equal? Of course not, if both are interpreted as numbers in the normal decimal system. However, the situation is different if the figures are interpreted to be represented in different numeral systems. &lt;br/&gt;&#10;&lt;br/&gt;&#10;Numeral systems are named according to their &lt;b&gt;base number&lt;/b&gt;. The base number also determines the types of numbers that can be formed in the numeral system. &lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;div class=&quot;eoppi-summary&quot;&gt;&#10;&lt;h3&gt;The base number tells which numbers the numeral system contains&lt;/h3&gt;&#10;&lt;p&gt;If the &lt;b&gt;base number&lt;/b&gt; of a numeral system is the natural number [[$ &amp;lt;em&amp;gt;n $]], the following numbers can be part of the numeral system: [[$ 0,1, 2, 3, ..., n-1 $]]&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;The most common numeral system is the &lt;b&gt;decimal system&lt;/b&gt;. The base number of the decimal system is 10, and the numbers 0 ... 9 appear in it. In the decimal system, each number can be written using a scientific expression. In calculators, the decimal system is denoted by the abbreviation DEC.&lt;/p&gt;&#10;&lt;h3&gt;Example 1&lt;/h3&gt;&#10;&lt;p&gt;The number 374 can be written in the form&lt;/p&gt;&#10;[[$ 3 \cdot 100 + 7 \cdot 10 + 4  \cdot 1 \qquad $]]​ or [[$ \qquad 3 \cdot 10^2 + 7 \cdot 10^1 + 4  \cdot 10^0 $]]​-</content>
<published>2022-09-05T12:42:41+03:00</published>
</entry>

<entry>
<title>Subscripts</title>
<id>https://peda.net/id/190234692cf</id>
<updated>2020-10-12T13:17:24+03:00</updated>
<link href="https://peda.net/qis/2022-2023/mathematics/ematematiikka-722/oipjp/9l/alaindeksi#top" />
<content type="html">&lt;p&gt;The&lt;b&gt; binary system&lt;/b&gt; (BIN) is commonly used in computer science. Computers can handle only two different states: a de-energized state or an energized state. These states can be described with the numbers 0 and 1. The base number of the binary system is 2, and its only numbers are 0 and 1. In a binary system, each number can be represented as the power of number 2. The position of zero or one indicates how large the number is.&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/p&gt;&#10;&lt;table class=&quot;eoppi-table no-caption&quot;&gt;&#10;&lt;tbody&gt;&#10;&lt;tr&gt;&#10;&lt;td&gt;&lt;b&gt;power form&lt;/b&gt;&lt;/td&gt;&#10;&lt;td&gt;2&lt;sup&gt;0&lt;/sup&gt;&lt;/td&gt;&#10;&lt;td&gt;2&lt;sup&gt;1&lt;/sup&gt;&lt;/td&gt;&#10;&lt;td&gt;2&lt;sup&gt;2&lt;/sup&gt;&lt;/td&gt;&#10;&lt;td&gt;2&lt;sup&gt;3&lt;/sup&gt;&lt;/td&gt;&#10;&lt;td&gt;2&lt;sup&gt;4&lt;/sup&gt;&lt;/td&gt;&#10;&lt;td&gt;2&lt;sup&gt;5&lt;/sup&gt;&lt;/td&gt;&#10;&lt;td&gt;2&lt;sup&gt;6&lt;/sup&gt;&lt;/td&gt;&#10;&lt;td&gt;2&lt;sup&gt;7&lt;/sup&gt;&lt;/td&gt;&#10;&lt;/tr&gt;&#10;&lt;tr&gt;&#10;&lt;td&gt;&lt;b&gt;value&lt;/b&gt;&lt;/td&gt;&#10;&lt;td&gt;1&lt;/td&gt;&#10;&lt;td&gt;2&lt;/td&gt;&#10;&lt;td&gt;4&lt;/td&gt;&#10;&lt;td&gt;8&lt;/td&gt;&#10;&lt;td&gt;16&lt;/td&gt;&#10;&lt;td&gt;32&lt;/td&gt;&#10;&lt;td&gt;64&lt;/td&gt;&#10;&lt;td&gt;128&lt;/td&gt;&#10;&lt;/tr&gt;&#10;&lt;/tbody&gt;&#10;&lt;/table&gt;&#10;&lt;br/&gt;&#10;&lt;div class=&quot;eoppi-summary&quot;&gt;&#10;&lt;h3&gt;Subscripts in numbers&lt;/h3&gt;&#10;&lt;p&gt;The numeral system that is used can be expressed by using a &lt;b&gt;subscript&lt;/b&gt;: 101&lt;sub&gt;2&lt;/sub&gt; (binary) or 5&lt;sub&gt;10&lt;/sub&gt; (decimal)&lt;/p&gt;&#10;&lt;/div&gt;&#10;&lt;p&gt;&lt;strong&gt;Note! &lt;/strong&gt;Because the decimal system is the most common numeral system, its numbers do not normally require the use of a subscript.&lt;br/&gt;&#10;&lt;br/&gt;&#10;&lt;/p&gt;&#10;&lt;h3&gt;Example 2&lt;/h3&gt;&#10;&lt;p&gt;Convert the binary number 101101 to the decimal system.&lt;/p&gt;&#10;​[[$ \begin{align} &amp;amp; 1 \cdot 2^5 + 0 \cdot 2^4 + 1 \cdot 2^3 + 1 \cdot 2^2 + 0 \cdot 2^1 + 1 \cdot 2^0 \\ &amp;amp; = 1 \cdot 32 + 0 \cdot 16 + 1 \cdot 8 + 1\cdot4 + 0\cdot2 + 1\cdot1 \\ &amp;amp; =32 + 8 + 4+ 1 \\ &amp;amp; = 45 \end{align}  $]]​&lt;br/&gt;&#10;&lt;br/&gt;&#10;Answer: 101101&lt;sub&gt;2&lt;/sub&gt; = 45&lt;sub&gt;10&lt;br/&gt;&#10;&lt;/sub&gt;&lt;br/&gt;&#10;&lt;h3&gt;Example 3&lt;/h3&gt;&#10;&lt;p&gt;Convert the number 83 from the decimal system into the binary system.&lt;/p&gt;&#10;&lt;ul&gt;&#10;&lt;li&gt;Let us first take the largest power of two that is ​[[$ \leq 83. \text{ } 2^6 = 64 \leq 83 $]]​.&lt;/li&gt;&#10;&lt;li&gt;Subtract this from the variable[[$ 83-64 = 19 $]]​.&lt;/li&gt;&#10;&lt;li&gt;The maximum power of two, which is[[$ \leq 19 $]], is [[$ 2^4 = 16 $]]​​.&lt;/li&gt;&#10;&lt;li&gt;Subtract this from the variable number[[$ 19-16 = 3 $]].​&lt;/li&gt;&#10;&lt;li&gt;The maximum power of two, which is [[$ \leq 3 $]], is [[$ 2^1 = 2 $]]​​.&lt;/li&gt;&#10;&lt;li&gt;[[$ 3-2 = 1 $]], so the last power of the two is [[$ 2^0 = 1 $]]​.&lt;/li&gt;&#10;&lt;li&gt;Powers [[$ 2^6, 2^4, 2^1 $]] and [[$ 2^0 $]] ​​will be replaced by a number 1 in the binary format and the places between them will be filled with zeros.&lt;/li&gt;&#10;&lt;li&gt;&#10;&lt;p&gt;The binary number is 1010011&lt;/p&gt;&#10;&lt;/li&gt;&#10;&lt;/ul&gt;&#10;&lt;b&gt;Answer:&lt;/b&gt; [[$ 83_{10} = 1010011_2 $]]​</content>
<published>2022-09-05T12:42:41+03:00</published>
</entry>

<entry>
<title>Navigation</title>
<id>https://peda.net/id/1906bf3b2cf</id>
<updated>2020-05-20T12:44:37+03:00</updated>
<link href="https://peda.net/qis/2022-2023/mathematics/ematematiikka-722/oipjp/9l/navigointi#top" />
<content type="html">&lt;b&gt;&lt;a href=&quot;https://peda.net/id/18b2841d2cf:sitemap&quot;&gt;To the table of contents&lt;/a&gt;&lt;/b&gt;</content>
<published>2022-09-05T12:42:41+03:00</published>
</entry>


</feed>